-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/KoishiVibe/PvE13KOISHI
- Loading branch information
Showing
30 changed files
with
752 additions
and
221 deletions.
There are no files selected for viewing
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
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
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
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
32 changes: 32 additions & 0 deletions
32
code/game/objects/structures/crates_lockers/closets/secure/marine_personal.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,32 @@ | ||
/obj/structure/closet/secure_closet/marine_personal | ||
name = "personal locker" | ||
desc = "It's an immobile card-locked storage unit." | ||
icon_state = "secure1" | ||
can_be_stacked = TRUE | ||
var/owner | ||
var/job = "Rifleman" | ||
var/has_cryo_gear = TRUE | ||
|
||
/obj/structure/closet/secure_closet/marine_personal/get_examine_text(mob/user) | ||
. = ..() | ||
. += SPAN_NOTICE("It has a name tag[owner ? ": [owner]." : ". They are still in hypersleep..."]") | ||
|
||
/obj/structure/closet/secure_closet/marine_personal/Initialize(mapload, ...) | ||
. = ..() | ||
GLOB.personal_closets += src | ||
|
||
/obj/structure/closet/secure_closet/marine_personal/Destroy() | ||
GLOB.personal_closets -= src | ||
return ..() | ||
|
||
/obj/structure/closet/secure_closet/marine_personal/allowed(mob/M) | ||
if(owner == M.name) | ||
return TRUE | ||
return FALSE | ||
|
||
/obj/structure/closet/secure_closet/marine_personal/Initialize() | ||
. = ..() | ||
if(has_cryo_gear) | ||
new /obj/item/clothing/under/marine(src) | ||
new /obj/item/clothing/shoes/marine/knife(src) | ||
new /obj/item/device/radio/headset/almayer/marine(src) |
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
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.