mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-08 08:22:25 +00:00
All /world/ stuff that I've found is now in code/world.dm instead of being scattered throughout the code in 6-7 files. *****IMPORTANT***** This means that hub.dm is now part of world.dm. Server hosts using the hub will likely have to redo the hub/password variables! Again, that stuff is now located in code/world.dm ******************* The tester list has been removed as it is not in use. /code/defines - Moved atom.dm code into /code/game/atom.dm and atom_movable.dm - Moved hub.dm code into /code/world.dm - Moved the /defines/tanning into objects/item/sheets/leather.dm - Moved /defines/area/ into game/area/ - Moved turf.dm code into the code/game/turfs folder and divided it up into meaningful places A lot of the files in /code/game were placed in new areas since they really didn't have a reason to be there. - algorithm.dm: - - The world stuff is in world.dm. - - countJob() and AutoUpdateTK() were removed entirely (unused). - - AutoUpdateAI() is now in /mob/living/silicon/ai.dm - atom_procs.dm was split into atom.dm and atom_movable.dm - cellautomata.dm - - World stuff was moved into world.dm - - Atom stuff was moved into atom.dm and atom_movable.dm - - Atom verbs were moved into code/game/verbs/atom_verbs.dm - chemistry.dm - - Beaker box code was moved into storage/misc.dm - - The trash can and 'alechemy' paper were removed. (unused) - Landmarks.dm was moved into /objects/effects/landmarks.dm - prisonshuttle.dm, specops_shuttle.dm, syndicate_shuttle.dm and syndicate_specops_shuttle.dm have been moved into game/machinery/computer/ - status.dm and topic.dm code were moved into world.dm - step_triggers.dm are now in objects/effects/step_triggers.dm - throwing.dm was split into appropriate files (carbon mob code, atom_movable.dm, ect) - vote.dm is now in code/datums /code/game/asteroid was split up. - turf.dm was moved into game/turfs/simulated/asteroid.dm - artifacts were split up - - Wish granter is now in game/machinery - - The stealth box is gone (unused) - - The list of 'space suprises' was moved into astroid.dm - asteroid.dm, being the only file left, was moved into /code/game and finally... modules/mob/organs files are now in code/datums/organs git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4659 316c924e-a436-60f5-8080-3fe189b3f50e
106 lines
3.5 KiB
Plaintext
106 lines
3.5 KiB
Plaintext
/obj/item/stack/sheet/animalhide/human
|
|
name = "human skin"
|
|
desc = "The by-product of human farming."
|
|
singular_name = "human skin piece"
|
|
icon_state = "sheet-hide"
|
|
origin_tech = ""
|
|
|
|
/obj/item/stack/sheet/animalhide/corgi
|
|
name = "corgi hide"
|
|
desc = "The by-product of corgi farming."
|
|
singular_name = "corgi hide piece"
|
|
icon_state = "sheet-corgi"
|
|
origin_tech = ""
|
|
|
|
/obj/item/stack/sheet/animalhide/cat
|
|
name = "cat hide"
|
|
desc = "The by-product of cat farming."
|
|
singular_name = "cat hide piece"
|
|
icon_state = "sheet-cat"
|
|
origin_tech = ""
|
|
|
|
/obj/item/stack/sheet/animalhide/monkey
|
|
name = "monkey hide"
|
|
desc = "The by-product of monkey farming."
|
|
singular_name = "monkey hide piece"
|
|
icon_state = "sheet-monkey"
|
|
origin_tech = ""
|
|
|
|
/obj/item/stack/sheet/animalhide/lizard
|
|
name = "lizard skin"
|
|
desc = "Sssssss..."
|
|
singular_name = "lizard skin piece"
|
|
icon_state = "sheet-lizard"
|
|
origin_tech = ""
|
|
|
|
/obj/item/stack/sheet/hairlesshide
|
|
name = "hairless hide"
|
|
desc = "This hide was stripped of it's hair, but still needs tanning."
|
|
singular_name = "hairless hide piece"
|
|
icon_state = "sheet-hairlesshide"
|
|
origin_tech = ""
|
|
|
|
/obj/item/stack/sheet/wetleather
|
|
name = "wet leather"
|
|
desc = "This leather has been cleaned but still needs to be dried."
|
|
singular_name = "wet leather piece"
|
|
icon_state = "sheet-wetleather"
|
|
origin_tech = ""
|
|
var/wetness = 30 //Reduced when exposed to high temperautres
|
|
var/drying_threshold_temperature = 500 //Kelvin to start drying
|
|
|
|
/obj/item/stack/sheet/leather
|
|
name = "leather"
|
|
desc = "The by-product of mob grinding."
|
|
singular_name = "leather piece"
|
|
icon_state = "sheet-leather"
|
|
origin_tech = "materials=2"
|
|
|
|
|
|
|
|
//Step one - dehairing.
|
|
|
|
/obj/item/stack/sheet/animalhide/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if( istype(W, /obj/item/weapon/kitchenknife) || \
|
|
istype(W, /obj/item/weapon/kitchen/utensil/knife) || \
|
|
istype(W, /obj/item/weapon/twohanded/fireaxe) || \
|
|
istype(W, /obj/item/weapon/hatchet) )
|
|
|
|
//visible message on mobs is defined as visible_message(var/message, var/self_message, var/blind_message)
|
|
usr.visible_message("\blue \the [usr] starts cutting hair off \the [src]", "\blue You start cutting the hair off \the [src]", "You hear the sound of a knife rubbing against flesh")
|
|
if(do_after(user,50))
|
|
usr << "\blue You cut the hair from this [src.singular_name]"
|
|
//Try locating an exisitng stack on the tile and add to there if possible
|
|
for(var/obj/item/stack/sheet/hairlesshide/HS in usr.loc)
|
|
if(HS.amount < 50)
|
|
HS.amount++
|
|
src.use(1)
|
|
break
|
|
//If it gets to here it means it did not find a suitable stack on the tile.
|
|
var/obj/item/stack/sheet/hairlesshide/HS = new(usr.loc)
|
|
HS.amount = 1
|
|
src.use(1)
|
|
else
|
|
..()
|
|
|
|
|
|
//Step two - washing..... it's actually in washing machine code.
|
|
|
|
//Step three - drying
|
|
/obj/item/stack/sheet/wetleather/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
|
..()
|
|
if(exposed_temperature >= drying_threshold_temperature)
|
|
wetness--
|
|
if(wetness == 0)
|
|
//Try locating an exisitng stack on the tile and add to there if possible
|
|
for(var/obj/item/stack/sheet/leather/HS in src.loc)
|
|
if(HS.amount < 50)
|
|
HS.amount++
|
|
src.use(1)
|
|
wetness = initial(wetness)
|
|
break
|
|
//If it gets to here it means it did not find a suitable stack on the tile.
|
|
var/obj/item/stack/sheet/leather/HS = new(src.loc)
|
|
HS.amount = 1
|
|
wetness = initial(wetness)
|
|
src.use(1) |