Trap Tweaks & Fixes (#19551)

* Animal traps now work based off mob size, instead of having a specific
mapped in list for animals it can or cannot capture.
* Added new examine text to traps that help explain how to use them.
* Added a verb to deploy / undeploy traps.
* Tweaked a couple interactions with traps, mechanically and
grammatically.
* Fixed a lot of bugs and issues with traps.

- [x] Finish looking over the file and removing the bad.
- [x] Clear out the TO-DO's I left in the file.
- [x] Add ability to examine the item to figure out how to use the item.
- [x] Test changes.
This commit is contained in:
Geeves
2024-07-09 15:42:17 +00:00
committed by GitHub
parent faec09c68c
commit eeca8237cc
4 changed files with 612 additions and 568 deletions
File diff suppressed because it is too large Load Diff
+6
View File
@@ -530,6 +530,12 @@
'sound/effects/bulletflyby3.ogg'
)
/singleton/sound_category/screwdriver_sound
sounds = list(
'sound/items/Screwdriver.ogg',
'sound/items/Screwdriver2.ogg'
)
/singleton/sound_category/crowbar_sound
sounds = list(
'sound/items/crowbar1.ogg',
@@ -21,6 +21,9 @@
var/mob/living/simple_animal/hostile/greatworm/originator
var/mob/living/captive
/obj/item/trap/sarlacc/get_trap_examine_text(mob/user, distance, is_adjacent, infix, suffix)
return list()
/obj/item/trap/sarlacc/Destroy()
if(originator)
originator = null
+10
View File
@@ -0,0 +1,10 @@
author: Geeves
delete-after: True
changes:
- rscadd: "Animal traps now work based off mob size, instead of having a specific mapped in list for animals it can or cannot capture."
- rscadd: "Added new examine text to traps that help explain how to use them."
- rscadd: "Added a verb to deploy / undeploy traps."
- rscadd: "Tweaked a couple interactions with traps, mechanically and grammatically."
- bugfix: "Fixed a lot of bugs and issues with traps."