Skip to content

Commit

Permalink
trash
Browse files Browse the repository at this point in the history
- Trash no longer magically disappears
- Rocks are now a prop that can be placed on maps and act as a type of basic weapon
  • Loading branch information
AmoryBlaine committed Sep 1, 2024
1 parent 867d795 commit 00fd121
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/effects/decals/cleanable/cleanable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GLOBAL_LIST_EMPTY(cleanable_decal_cache)
*/
var/cleaned_up = FALSE

garbage = TRUE
garbage = FALSE

/obj/effect/decal/cleanable/Initialize(mapload, ...)
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/effects/spawners/gibspawner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
var/bloodcolor //Used for gibbed humans.
icon = 'icons/landmarks.dmi'
icon_state = "landmark_gibs"
garbage = TRUE
garbage = FALSE
var/list/viruses
var/mob/living/ml

Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
throwforce = 0
throw_speed = SPEED_VERY_FAST
throw_range = 20
garbage = TRUE
garbage = FALSE

/obj/item/bananapeel/Crossed(AM as mob|obj)
if (iscarbon(AM))
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/props/helmetgarb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
icon = 'icons/obj/items/helmet_garb.dmi'
icon_state = null
w_class = SIZE_TINY
garbage = TRUE
garbage = FALSE

/obj/item/prop/helmetgarb/Initialize(mapload, ...)
. = ..()
Expand Down Expand Up @@ -457,7 +457,7 @@
name = "old M2 night vision goggles"
desc = "This pair has been gutted of all electronics and therefore not working. But hey, they make you feel tacticool, and that's all that matters, right?"
shape = NVG_SHAPE_COSMETIC
garbage = TRUE
garbage = FALSE

/obj/item/prop/helmetgarb/helmet_nvg/marsoc //for Marine Raiders
name = "\improper Tactical M3 night vision goggles"
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/shards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var/source_sheet_type = /obj/item/stack/sheet/glass
var/shardsize
var/count = 1
garbage = TRUE
garbage = FALSE

/obj/item/shard/attack(mob/living/carbon/M, mob/living/carbon/user)
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/stacks/cable_coil.dm
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@

/obj/item/stack/cable_coil/cut
item_state = "coil2"
garbage = TRUE
garbage = FALSE

/obj/item/stack/cable_coil/cut/Initialize()
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/stacks/rods.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
max_amount = 60
attack_verb = list("hit", "bludgeoned", "whacked")
stack_id = "metal rod"
garbage = TRUE
garbage = FALSE
var/sheet_path = /obj/item/stack/sheet/metal
var/used_per_sheet = 4

Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/trash.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
icon = 'icons/obj/items/trash.dmi'
w_class = SIZE_SMALL
desc = "This is rubbish."
garbage = TRUE
garbage = FALSE

//////////////
///Wrappers///
Expand Down
16 changes: 13 additions & 3 deletions code/game/objects/prop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
item_state = ""
desc = "A Rexim RXF-M5 EVA pistol compressed down into a laptop! Also known as the Laz-top. Part of a line of discreet assassination weapons developed for Greater Argentina and the United States covert programs respectively."
w_class = SIZE_SMALL
garbage = TRUE
garbage = FALSE

/obj/item/prop/geiger_counter
name = "geiger counter"
Expand Down Expand Up @@ -298,5 +298,15 @@
icon_state = "sheet-scrap"
item_state = ""
desc = "A rusty piece of scrap metal."
w_class = SIZE_MASSIVE
garbage = TRUE
w_class = SIZE_MEDIUM

/obj/item/prop/rock
name = "rock"
icon = 'icons/obj/items/plush.dmi'
icon_state = "rock"
item_state = ""
force = 30
throwforce = 25
desc = "The most ancient of tools."
w_class = SIZE_TINY
hitsound = 'sound/weapons/genhit3.ogg'
2 changes: 1 addition & 1 deletion code/modules/cm_tech/implements/implants.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
I.on_implanted(M)
uses = max(uses - 1, 0)
if(!uses)
garbage = TRUE
garbage = FALSE
update_icon()

/obj/item/device/internal_implant
Expand Down
2 changes: 1 addition & 1 deletion code/modules/projectiles/ammunition.dm
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Turn() or Shift() as there is virtually no overhead. ~N
var/max_casings = 16
var/current_icon = 0
var/number_of_states = 10 //How many variations of this item there are.
garbage = TRUE
garbage = FALSE

/obj/item/ammo_casing/Initialize()
. = ..()
Expand Down

0 comments on commit 00fd121

Please sign in to comment.