mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-31 00:26:21 +01:00
Initial Commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
mob/living/carbon/beast
|
||||
@@ -0,0 +1,16 @@
|
||||
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
|
||||
|
||||
datum/bodypart
|
||||
var/name = "unidentified bodypart"
|
||||
var/health = 50
|
||||
|
||||
datum/bodypart/body
|
||||
health = 100
|
||||
|
||||
datum/bodypart/head
|
||||
health = 30
|
||||
|
||||
datum/bodypart/limb
|
||||
|
||||
datum/bodypart/tail
|
||||
health = 15
|
||||
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
var/mob/dead/phantasm/P = new (src.loc)
|
||||
for(var/obj/O in src.contents) // Where src is a mob
|
||||
if(istype(O, /obj/item)) // Only remember carried items (sanity checking, mostly)
|
||||
src.u_equip(O) // Unequip the item if we're wearing it
|
||||
if (src.client)
|
||||
src.client.screen -= O // Clear out any overlays the item added, notably in the equip windows
|
||||
O.loc = src.loc // Honestly not sure if these two steps are necessary
|
||||
O.dropped(src) // but they seem to occur everywhere else in the code, so we're not taking any chances.
|
||||
O.layer = initial(O.layer)
|
||||
O.loc = P // Add the item to the phantasm's inventory
|
||||
src.Death(0)
|
||||
*/
|
||||
Reference in New Issue
Block a user