mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 10:41:42 +00:00
* New Implant: Chem. Insert up to 10 units of chemicals into implant with a syringe (while still in implant case) and then can use a prisoner management console to trigger 1, 5, or 10 units of the chemical to be injected into the implanted subject. Once all the chemicals are used up, the implant disables itself. * Prisoner Management Console can now detect the approximate location of prisoners with tracking implants in them. It gives slightly more useful information then the tracker but isn't portable. * AI cannot access Prisoner Management Console (unless malf/XISC). * Prisoner Management Console re-added to Armory (It no longer can trigger explosive implants). Play nice or else you'll get your toys taken away from you. BORK BORK update: * Re-did ChemMaster. Now it allows you transfer reagents in and out of a buffer. You can then turn the contents of the buffer into either a pill or a bottle. When removing reagents from the buffer, you can either delete them entirely or return them to the beaker. However, removing the beaker clears the contents of the buffer (so no mixing inside the ChemMaster!). CondiMaster Neo is almost identical to the ChemMaster except it only makes condiment bottles (no pills). * Milk now being handled like the other reagents (as intended). Remember: 5 units of milk = 1 cup. * Soymilk interchangable with regular milk in microwave recipes. (again, 5 units = 1 cup) * Xenomeatbread! 3 xeno meat, 3 cheese, 3 flour. Extra Heretical! * Monkey related food items renamed to generic meat (since I'm adding animals, I really don't want to add a new food items for every single new animal). * Cola removed from fridge. Thematically appropriate but it just clutters it up (especially since there are vending machines all over the damn place). * Faggots removed from meat locker. Instead, a small amount of meat spawns in there. * Carp processes modified. Code is a littles cleaner (lawl) and the random pathing a a little cleaner as well. Badmin Update: * By request, Admins can now trigger radiation event. * Confirmation warning on admin-triggered carp event. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@660 316c924e-a436-60f5-8080-3fe189b3f50e
79 lines
2.8 KiB
Plaintext
79 lines
2.8 KiB
Plaintext
//////Kitchen Spike
|
|
|
|
/obj/kitchenspike
|
|
attack_paw(mob/user as mob)
|
|
return src.attack_hand(usr)
|
|
|
|
attackby(obj/item/weapon/grab/G as obj, mob/user as mob)
|
|
if(!istype(G, /obj/item/weapon/grab))
|
|
return
|
|
if(istype(G.affecting, /mob/living/carbon/monkey))
|
|
if(src.occupied == 0)
|
|
src.icon_state = "spikebloody"
|
|
src.occupied = 1
|
|
src.meat = 5
|
|
src.meattype = 1
|
|
var/mob/dead/observer/newmob
|
|
for(var/mob/O in viewers(src, null))
|
|
O.show_message(text("\red [user] has forced [G.affecting] onto the spike, killing them instantly!"))
|
|
if (G.affecting.client)
|
|
newmob = new/mob/dead/observer(G.affecting)
|
|
G.affecting:client:mob = newmob
|
|
newmob:client:eye = newmob
|
|
del(G.affecting)
|
|
del(G)
|
|
|
|
else
|
|
user << "\red The spike already has something on it, finish collecting its meat first!"
|
|
else if(istype(G.affecting, /mob/living/carbon/alien) && !istype(G.affecting, /mob/living/carbon/alien/larva/metroid))
|
|
if(src.occupied == 0)
|
|
src.icon_state = "spikebloodygreen"
|
|
src.occupied = 1
|
|
src.meat = 5
|
|
src.meattype = 2
|
|
var/mob/dead/observer/newmob
|
|
for(var/mob/O in viewers(src, null))
|
|
O.show_message(text("\red [user] has forced [G.affecting] onto the spike, killing them instantly!"))
|
|
if (G.affecting.client)
|
|
newmob = new/mob/dead/observer(G.affecting)
|
|
G.affecting:client:mob = newmob
|
|
newmob:client:eye = newmob
|
|
del(G.affecting)
|
|
del(G)
|
|
else
|
|
user << "\red The spike already has something on it, finish collecting its meat first!"
|
|
else
|
|
user << "\red They are too big for the spike, try something smaller!"
|
|
return
|
|
|
|
// MouseDrop_T(var/atom/movable/C, mob/user)
|
|
// if(istype(C, /obj/mob/carbon/monkey)
|
|
// else if(istype(C, /obj/mob/carbon/alien) && !istype(C, /mob/living/carbon/alien/larva/metroid))
|
|
// else if(istype(C, /obj/livestock/spesscarp
|
|
|
|
attack_hand(mob/user as mob)
|
|
if(..())
|
|
return
|
|
if(src.occupied)
|
|
if(src.meattype == 1)
|
|
if(src.meat > 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/monkeymeat( src.loc )
|
|
usr << "You remove some meat from the monkey."
|
|
else if(src.meat == 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/monkeymeat(src.loc)
|
|
usr << "You remove the last piece of meat from the monkey!"
|
|
src.icon_state = "spike"
|
|
src.occupied = 0
|
|
else if(src.meattype == 2)
|
|
if(src.meat > 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/xenomeat( src.loc )
|
|
usr << "You remove some meat from the alien."
|
|
else if(src.meat == 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/xenomeat(src.loc)
|
|
usr << "You remove the last piece of meat from the alien!"
|
|
src.icon_state = "spike"
|
|
src.occupied = 0 |