mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 12:06:22 +01:00
Prommy Lunchboxes Keep Mice
Forces a mouse to spawn with you **inside** the lunchbox a Prommy spawns with. Fix ported from https://github.com/VOREStation/VOREStation/pull/5093
This commit is contained in:
@@ -113,10 +113,19 @@ var/datum/species/shapeshifter/promethean/prometheans
|
||||
prometheans = src
|
||||
|
||||
/datum/species/shapeshifter/promethean/equip_survival_gear(var/mob/living/carbon/human/H)
|
||||
var/boxtype = pick(typesof(/obj/item/weapon/storage/toolbox/lunchbox))
|
||||
//TFF 18/4/19: Add a proper list of randomly chosen lunchboxes
|
||||
var/boxtype = pick(list(/obj/item/weapon/storage/toolbox/lunchbox,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/heart,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/cat,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/nt,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/mars,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/cti,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/nymph,
|
||||
/obj/item/weapon/storage/toolbox/lunchbox/syndicate)) //Only pick the empty types
|
||||
var/obj/item/weapon/storage/toolbox/lunchbox/L = new boxtype(get_turf(H))
|
||||
var/mob/living/simple_animal/mouse/mouse = new (L)
|
||||
var/obj/item/weapon/holder/holder = new (L)
|
||||
holder.held_mob = mouse //TFF 18/4/19: Make Prommies hold a mouse on spawning.
|
||||
mouse.forceMove(holder)
|
||||
holder.sync(mouse)
|
||||
if(H.backbag == 1)
|
||||
|
||||
Reference in New Issue
Block a user