Traps & random object icon fixes (#20671)

Resolves several missing icon states for some random/ objects and traps.
Nothing user-facing, just makes them appear properly in StrongDMM.
Deleted several sprites we weren't using from punji.dmi.
This commit is contained in:
hazelrat
2025-04-13 10:14:44 +00:00
committed by GitHub
parent 305038f064
commit e344aa055d
5 changed files with 62 additions and 7 deletions
+2 -5
View File
@@ -312,7 +312,7 @@
/obj/random/telecrystals
name = "random telecrystals"
desc = "Contains a random amount of telecrystals."
icon_state = "crystal"
icon_state = "coin"
spawnlist = list(
/obj/item/stack/telecrystal{amount = 10} = 0.5,
/obj/item/stack/telecrystal{amount = 15} = 0.4,
@@ -323,7 +323,7 @@
/obj/random/contraband
name = "random contraband"
desc = "This is some random contraband."
icon_state = "need_sprite"
icon_state = "coin"
problist = list(
/obj/item/storage/pill_bottle/mortaphenyl = 3,
/obj/item/storage/pill_bottle/happy = 2,
@@ -367,7 +367,6 @@
/obj/random/contraband/pill
name = "random contraband pill"
desc = "This is a random pill of illegal drugs."
icon_state = "knife"
problist = list(
/obj/item/reagent_containers/pill/cocaine = 3,
/obj/item/reagent_containers/pill/contemplus = 3,
@@ -380,7 +379,6 @@
/obj/random/contraband/pillbottle
name = "random contraband pill bottle"
desc = "This is a random bottle of illegal pills."
icon_state = "knife"
problist = list(
/obj/item/storage/pill_bottle/cocaine = 1,
/obj/item/storage/pill_bottle/contemplus = 1,
@@ -406,7 +404,6 @@
/obj/random/spacecash
name = "random credit chips"
desc = "This is a random credit chip."
icon_state = "cash"
problist = list(
/obj/item/spacecash/c1 = 6,
/obj/item/spacecash/c10 = 3,
+1 -2
View File
@@ -113,8 +113,7 @@
/obj/random/sword
name = "random sword"
desc = "This is a random sword."
icon = 'icons/obj/weapons.dmi'
icon_state = "claymore"
icon_state = "melee"
spawnlist = list(
/obj/item/material/sword,
/obj/item/material/sword/katana,