-
-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request Removes Elephant Graveyard and fluff papers. <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> ## Why It's Good For The Game Quality control <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> ## Changelog :cl: del: The Elephant Graveyard ruin has been taken out back /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->
- Loading branch information
Showing
8 changed files
with
184 additions
and
2,067 deletions.
There are no files selected for viewing
1,788 changes: 0 additions & 1,788 deletions
1,788
_maps/RandomRuins/LavaRuins/lavaland_surface_elephant_graveyard.dmm
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
code/game/objects/structures/crates_lockers/crates/graves.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
/obj/structure/closet/crate/grave | ||
name = "burial mound" | ||
desc = "A marked patch of soil, adorned with a wooden cross" | ||
icon_state = "grave" | ||
dense_when_open = TRUE | ||
material_drop = /obj/item/stack/ore/glass/basalt | ||
material_drop_amount = 5 | ||
opened = TRUE | ||
anchorable = FALSE | ||
anchored = TRUE | ||
locked = TRUE | ||
breakout_time = 900 | ||
cutting_tool = TOOL_SHOVEL | ||
|
||
/obj/structure/closet/crate/grave/attackby(obj/item/W, mob/user, params) | ||
.=..() | ||
if(istype(W, /obj/item/screwdriver)) | ||
if(!user.is_literate()) | ||
to_chat(user, "<span class='notice'>You scratch illegibly on [src]!</span>") | ||
return | ||
var/t = stripped_input(user, "What would you like the inscription to be?", name, null, 53) | ||
if(user.get_active_held_item() != W) | ||
return | ||
if(!user.canUseTopic(src, BE_CLOSE)) | ||
return | ||
if(t) | ||
desc = "[t]" | ||
return | ||
|
||
/obj/structure/closet/crate/grave/open(mob/living/user, obj/item/S, force = FALSE) | ||
if(!opened) | ||
to_chat(user, "<span class='notice'>The ground here is too hard to dig up with your bare hands. You'll need a shovel.</span>") | ||
else | ||
to_chat(user, "<span class='notice'>The grave has already been dug up.</span>") | ||
|
||
/obj/structure/closet/crate/grave/tool_interact(obj/item/S, mob/living/carbon/user) | ||
if(user.a_intent == INTENT_HELP) //checks to attempt to dig the grave, must be done on help intent only. | ||
if(!opened) | ||
if(S.tool_behaviour == cutting_tool) | ||
to_chat(user, "<span class='notice'>You start start to dig open \the [src] with \the [S]...</span>") | ||
if (do_after(user,20, target = src)) | ||
opened = TRUE | ||
locked = TRUE | ||
dump_contents() | ||
update_appearance() | ||
SEND_SIGNAL(user, COMSIG_ADD_MOOD_EVENT, "graverobbing", /datum/mood_event/graverobbing) | ||
return TRUE | ||
return TRUE | ||
else | ||
to_chat(user, "<span class='notice'>You can't dig up a grave with \the [S.name].</span>") | ||
return TRUE | ||
else | ||
to_chat(user, "<span class='notice'>The grave has already been dug up.</span>") | ||
return TRUE | ||
|
||
else if((user.a_intent != INTENT_HELP) && opened) //checks to attempt to remove the grave entirely. | ||
if(S.tool_behaviour == cutting_tool) | ||
to_chat(user, "<span class='notice'>You start to remove \the [src] with \the [S].</span>") | ||
if (do_after(user,15, target = src)) | ||
to_chat(user, "<span class='notice'>You remove \the [src] completely.</span>") | ||
SEND_SIGNAL(user, COMSIG_ADD_MOOD_EVENT, "graverobbing", /datum/mood_event/graverobbing) | ||
deconstruct(TRUE) | ||
return TRUE | ||
return | ||
|
||
/obj/structure/closet/crate/grave/bust_open() | ||
..() | ||
opened = TRUE | ||
update_appearance() | ||
dump_contents() | ||
return | ||
|
||
/obj/structure/closet/crate/grave/stone | ||
name = "burial mound" | ||
desc = "A marked patch of soil, adorned with a sandstone slab" | ||
icon_state = "grave_lead" | ||
|
||
/obj/structure/closet/crate/grave/loot | ||
name = "burial mound" | ||
desc = "A marked patch of soil, showing signs of a burial long ago. You wouldn't disturb a grave... right?" | ||
opened = FALSE | ||
|
||
/obj/structure/closet/crate/grave/loot/PopulateContents() //GRAVEROBBING IS NOW A FEATURE | ||
..() | ||
new /obj/effect/decal/remains/human/grave(src) | ||
switch(rand(1,7)) | ||
if(1) | ||
new /obj/item/spacecash/bundle/smallrand(src) | ||
new /obj/item/card/id | ||
new /obj/item/storage/wallet(src) | ||
if(2) | ||
new /obj/item/clothing/head/papersack/smiley(src) | ||
if(3) | ||
new /obj/item/clothing/under/nanotrasen(src) | ||
new /obj/item/clothing/head/nanotrasen(src) | ||
if(4) | ||
new /obj/item/storage/book/bible/booze(src) | ||
if(5) | ||
new /obj/item/clothing/neck/stethoscope(src) | ||
new /obj/item/scalpel(src) | ||
new /obj/item/hemostat(src) | ||
|
||
if(6) | ||
new /obj/item/reagent_containers/glass/beaker/large/napalm(src) | ||
new /obj/item/clothing/under/frontiersmen(src) | ||
if(7) | ||
new /obj/item/clothing/glasses/sunglasses(src) | ||
new /obj/item/clothing/mask/cigarette/rollie(src) | ||
new /obj/item/lighter(src) | ||
|
||
/obj/effect/decal/remains/human/grave | ||
turf_loc_check = FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.