Commit Graph

116 Commits

Author SHA1 Message Date
Kashargul
a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Kashargul
e0d694e8ac rid of old span macros 2024-10-01 23:51:48 +02:00
Kashargul
6cabe9f7e6 Undefines local defines and moves global to __define (#16028)
* first set of defines

* some more

* .

* final defines

* del local define
2024-06-09 17:29:20 +10:00
Heroman3003
c7b6c3e42b Revert "Revert "Garbage collection, asset delivery, icon2html revolution, and…" (#15816)
This reverts commit f6d0f62622.
2024-04-22 06:29:01 +10:00
Kashargul
4c90f3953d fix some runtimes and an overlay overflow (#15915)
* fix some runtimes and memleaks

* .
2024-04-11 09:08:39 +10:00
Heroman3003
f6d0f62622 Revert "Garbage collection, asset delivery, icon2html revolution, and general…" (#15815)
This reverts commit cc05d51b69.
2024-03-10 20:01:05 +10:00
Cadyn
cc05d51b69 Garbage collection, asset delivery, icon2html revolution, and general fixes (515) (#15739)
* Making it compileable

* Adds Tracy & Fixed missing compat in sorting code

* CI workflow using "Stable" beta version

* Tracy define

* Fixes

* Update GC from TGStation

* fixes

* Appease linter

* begone custom_items.txt

* Making it compileable

* Adds Tracy & Fixed missing compat in sorting code

* CI workflow using "Stable" beta version

* Tracy define

* Fixes

* Build dependencies at 514

* Asset delivery/GC/515 megapatch

* fix runtime

* Appease integration tests

* More runtime fixes

* Attempting to resolve runtime

* Update spacemanDMM

* icon2html revolution

* icon2html part 2

* fixes

* Attempt to appease linter

* More fixes

* Final fixes (hopefully)

* operator keyword moment

* minor fixes and additions

* undo extra tgui files

* switch to QDEL_IN_STOPPABLE where necessary

* Pain

* GPS runtime

* dropped(null) fix, + chompedit the fixes just incase.

* Fix chat tags

* Update _build_dependencies.sh

* runtime in orebag, duplicate in computer/ship/proc/look, runtime in zoom

* tweak zoom change

* another registersignal override runtime

* 1

* Revert "1"

This reverts commit 43f619ca6c216c2bc41b8f7a346069f99591261b.

* various qdel ref fixes

* newplayer and observer harddels

* disposalholder logging remove, gargoyle hard del + typo

* retouch atom/movable destroy to be TG-like

* potential edge case ref in manualfollow

* extra following potential ref

* global list refs tweak, new_player undo a thing

* /mob/new_player qdel fixes

* undo some things

* revert atoms/movable/destroy

* revert mind and new_player panel changes

* atoms and atom/movable reversions

* bring back datum/mind and panel fixes

* projectile optimisation

* Reverts useless edits, clothing hood runtime, projectile runtime

I tried a lot of things which do not help, and i reverted a lot of it here.

* a few more reversions of useless changes

* Begin getting rid of CHOMPedit comments

* Nuke remaining chompedit comments

* Revert "undo extra tgui files"

This reverts commit f3bdcde8cb.

* fixing oops

* line ending shenanigans

* More GC cleanup

* Optimisations to test/trace projectile, turrets. Tweaks.

Turrets now only trace when they are absolutely sure they want to shoot. disposalholder, effect master and artefact qdel refs changes.

* bad usage of the check_trajectory proc

check_trajectory returns a list of objects hit along it's path to it's target, not a boolean of the target being hittable. a couple places in code assume this, so here they are fixed.

* puts legacy globals into GLOB datum for debug use

* fix upport oopsie

* fix

* Move recursive listening to component

* Minor fixes and cleanup

* undo my temp solution

* tweaks + a missed thing

* recursive_move sanity checks and safety cases

* Catch null initialisation cases + fix borg creation

VV edit spawns the object in nullspace then directly sets it's loc, which means the movement is unregistered. The spawn(0) delay should hopefully mean that setup_parents happens AFTER any unregistered movement.

* circular inventory check, make checks better

* better handling of safety reset cases

* Add logging to safety checks

---------

Co-authored-by: Selis <selis@xynolabs.com>
Co-authored-by: Selis <sirlionfur@hotmail.de>
Co-authored-by: Raeschen <rycoop29@gmail.com>
2024-03-10 09:39:33 +10:00
Drathek
7c8bb85de3 Whitespace Standardization [MDB IGNORE] (#15748)
* Update settings

* Whitespace changes

* Comment out merger hooks in gitattributes

Corrupt maps would have to be resolved in repo before hooks could be updated

* Revert "Whitespace changes"

This reverts commit afbdd1d844.

* Whitespace again minus example

* Gitignore example changelog

* Restore changelog merge setting

* Keep older dmi hook attribute until hooks can be updated

* update vscode settings too

* Renormalize remaining

* Revert "Gitignore example changelog"

This reverts commit de22ad375d.

* Attempt to normalize example.yml (and another file I guess)

* Try again
2024-02-20 11:28:51 +01:00
SatinIsle
62bc133ca4 Edible retaliate mobs
Makes some mobs that are retaliate or vore hostile stop fighting whilst inside a belly. Specifically: Squirrels, bats, peasants, sheep, succubi, vampires, wolfgirls and wolftaurs.

Also adds this to passive mobs, which won't change anything normally as they don't fight when eaten. However, it will mean that catgirls and lamia, which are normally passive, will stop fighting in a belly if spawned via the semirandom mob spawner.
2023-09-23 12:40:16 +01:00
VerySoft
4891aadb80 You don't have to fight in the belly if you don't want to
Adds a var for AI holders called: bell_fight

This var defaults to true, while true the mob will attempt to fight you while it is in a belly.

Prospective mob designers can make AIs that have this disabled though, in cases where you want a mob to give up fighting once it's been eaten.
2023-09-22 15:03:05 -04:00
SatinIsle
ee1baecdba New redgate Islands map
Added a new redgate islands map. This consists of two Z-levels: An ocean with a few islands to visit, many with vore mobs on them. An underwater Z-level with lots of things to find hidden around the ocean floor, a little more sparse on vore mobs.

Added a new underwater turf. Standing on this turf feeds you CO2 instead of air, suffocating you. It is a subset of water turfs, and therefore interacts with aquatic, which also allows you to breathe on these turfs. This does mean that you can use the "dive" ability of aquatic under the water too, but it can be treated as though you are swimming up above the sea floor.

Added a "diving" subset of the ocean turf, which allows you to dive down to the turf beneath it, or to swim up from below. Uses normal move up/down verbs.

Added a bunch of underwater flora.

Added a collapsed ships mast prop.

Added a new variation of Fake_Sun that applies a new underwater weather effect and has only one option for the colour and brightness.

Added a new "vorny" variation of the great white carp. This one is very hard to escape from and digests quickly, but is stunned if you manage to do so to give you a chance to flee.

Added a new water resistant and friendly hiveless hivebot called Harry.

Added a couple of creative commons 0 sound effects for the ocean and underwater areas.
2023-08-30 14:51:00 +01:00
VerySoft
514b6b954d More adjustments
Makes it so the mobs with vore_hostile will only be hostile when their capacity isn't full
2023-08-04 21:13:28 -04:00
Casey
dd881251ef Merge pull request #15167 from Very-Soft/stardog
[WIP] Stardog
2023-08-04 16:23:08 -04:00
VerySoft
482e03e664 648 2023-08-03 06:48:32 -04:00
VerySoft
b5ad497ac0 538 2023-08-02 05:38:52 -04:00
VerySoft
bb37b7609a 2137 2023-07-30 21:37:39 -04:00
Runa Dacino
79715765d0 tweak: Implements requested changes to ai init
- In mob/living init, makes sure there is no pre-existing ai_holder before calling its init
- In the initialize_ai_holder, double checks if we got a pre-existing ai_holder and properly GCs it if so
- Furthermore, checks if the ai_holder_type was valid by checking if ai_holder is null, if so - logs a debug message and returns.
2023-07-29 14:18:05 +02:00
Runa Dacino
39a06b3013 tweak: Moves ai_holder init into its own proc
Moves the logic for initializing an ai_holder from mob/living/Initialize() into its own proc, replacing the original code with a call of this proc.

Functionally, nothing has been changed. However, this enables ai reinitialization for gms
2023-07-28 21:28:18 +02:00
Selis
271ff9408f Spell Fixes 2023-06-18 12:47:36 +02:00
ItsSelis
10d2178516 More 515 Compatibility 2023-06-05 19:29:40 +02:00
VerySoft
9865838150 That's a thing people will probably do 2023-05-11 13:42:15 -04:00
VerySoft
5d61c3c52f Adds weaken and stun 2023-05-11 13:12:03 -04:00
VerySoft
f7d8cf029c Adds mob forgiveness
Makes it so that if you rest while being attacked by a retaliate mob, they may decide to stop attacking you.

They will forgive you if their health is full, if they cannot eat you, and if they are otherwise not hostile. If they CAN eat you, then their behavior will be as normal, they will proceed to eat you.

At the moment this applies to all retaliate mobs, but a variable `forgive_resting` is in place for in case we want some mobs to not be so forgiving, be it normally or through adminbus.
2023-05-10 20:47:10 -04:00
Killian
f715fa769b more space creature events 2023-03-31 06:37:36 +01:00
VerySoft
985fe881cb Misc fixes
While I was working on kobs I fixed and tweaked a whole bunch of little things. I figured even then that I should separate the fixes, but I never got around to it

Now I have~
2023-02-17 13:46:02 -05:00
Heroman
13d48e5fe0 Fixes slime ai again, hopefully 2022-09-07 13:29:59 +10:00
VerySoft
bbbde0ac3d Don't flee, silly! 2022-07-31 14:42:11 -04:00
Heroman
2384ca40de Xenobio fixes 2022-05-14 07:18:27 +10:00
Heroman
7887f6c12f More xenobio fixes 2022-03-28 15:47:07 +10:00
Heroman
56849e7a71 Reworks xenobio extract rewards 2022-03-27 14:17:41 +10:00
Heroman
f95edd3a38 Makes slimes not call for help with food or internal disputes 2022-03-25 16:05:45 +10:00
Heroman
1cbf4d51ba Fixes AI subsystem locking up on trying to process null entries 2022-01-19 12:05:40 +10:00
Heroman
c2dada040f Fixes bugs related to weaversilk structures 2021-11-17 15:41:36 +10:00
VerySoft
f56a98d69d I forgot there's a proc that does this 2021-11-11 13:28:04 -05:00
VerySoft
6409b42d4b Considers more situations
Makes it also ignore you if you've recently used OOC escape, or if it's already full
2021-11-11 13:22:35 -05:00
VerySoft
6608c68b96 Vore mobs can eat you while unconcious
-Only if it's enabled on the mob's AI holder
-Only if your settings are configured to allow it.

Otherwise it acts normal, doesn't bother SSD people, doesn't maul you while unconscious (unless it is set to do that, since that's an option that exists)

Important for a mob I will be adding soon.
2021-11-11 05:56:36 -05:00
VerySoft
7ce49acf09 Updoot! Also expands ventcrawl allowed list 2021-08-21 06:20:01 -04:00
VerySoft
ccaebcbd7f Makes catslugs slightly less annoying
Now they ONLY respond to psps, rather than everything except psps except when they are kicking your ass.

Also makes it so simplemobs get up to kick your ass if you attack them when they are resting.
2021-08-21 00:49:09 -04:00
Aronai Sieyes
65ed7c1a65 Fancy exploration shuttle 2021-08-06 22:03:46 -04:00
Aronai Sieyes
831d5dc452 Supposed to be NO MORE SHADOWS 2021-07-29 23:44:15 -04:00
Aronai Sieyes
57df84171d Fix kwargs 2021-07-28 12:32:56 -04:00
Aronai Sieyes
6da3ce0832 One more tweak to voremob things
They can skip the 8s anti-kite check
2021-07-28 12:27:11 -04:00
Aronai Sieyes
5d7fd42069 AI hostile mobs will not be OK with being eaten 2021-07-27 18:03:42 -04:00
Aronai Sieyes
34982728cb Add 'as anything' to various for loops 2021-07-20 12:39:59 -04:00
Aronai Sieyes
4c12504e3b Replace list inputs with tgui_input_list 2021-06-26 10:39:56 -04:00
Aronai Sieyes
1696db4842 Move most/all overlay use to SSoverlays
Except for the ones I'm about to change in the
lighting commits!
2021-06-17 00:11:13 -04:00
Novacat
4aea61dec4 Revert "[MIRROR] Fixes some unseen combat ai jank" 2021-06-14 13:36:59 -04:00
Novacat
7e89721063 Update ai_holder_combat_unseen.dm 2021-06-14 08:14:58 -04:00
Verkister
20535eb0b4 Fixes some unseen combat ai jank 2021-06-14 01:34:12 -04:00
Aronai Sieyes
83294303ae Tweak AI 2021-06-01 19:01:09 -04:00