12/21 modernizations from TG live (#103)
* sync (#3) * shuttle auto call * Merge /vore into /master (#39) * progress * Compile errors fixed No idea if it's test worthy tho as conflicts with race overhaul and narky removal. * Update admins.txt * efforts continue Fuck grab code, seriously * grab code is cancer * Execute the Narkism Do not hesitate. Show no mercy. * holy shit grab code is awful * have I bitched about grab code My bitching, let me show you it * código de agarre es una mierda No really it is * yeah I don't even know anymore. * Lolnope. Fuck grab code * I'm not even sure what to fix anymore * Self eating is not an acceptable fate * Taste the void, son. * My code doesn't pass it's own sanity check. Maybe it's a sign of things to come. * uncommented and notes * It Works and I Don't Know Why (#38) * shuttle auto call * it works and I don't know why * Subsystem 12/21 Most Recent TG subsystem folder * globalvars 12/21 Tossed out the flavor_misc and parallax files * Onclick 12/21 as well as .dme updates * _defines 12/21 ommited old _MC.dm * _HELPERS 12/21 Preserved snowflake placement of furry sprites * _defeines/genetics reapplied narkism holdover for snowflake races. * Oops forgot mutant colors * modules porting 12/21 + Sounds/icons Admin, Client and most of mob life files ommitted * enviroment file * Admin optimizations ahelp log system kept * Mob ports 12/21 Flavor text preserved * datums ported 12/21 * Game ported 12/21 * batch of duplicate fixes/dogborg work Dogborgs need to be modernized to refractored borg standards. * moar fixes * Maps and futher compile fixes
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
if(istype(I, /obj/item/weapon/wrench))
|
||||
user << "<span class='notice'>You begin to remove the handlebars...</span>"
|
||||
playsound(get_turf(user), 'sound/items/Ratchet.ogg', 50, 1)
|
||||
if(do_after(user, 40/I.toolspeed, target = src))
|
||||
if(do_after(user, 40*I.toolspeed, target = src))
|
||||
new /obj/vehicle/scooter/skateboard(get_turf(src))
|
||||
new /obj/item/stack/rods(get_turf(src),2)
|
||||
user << "<span class='notice'>You remove the handlebars from [src].</span>"
|
||||
@@ -38,15 +38,18 @@
|
||||
else
|
||||
buckled_mob.pixel_y = -4
|
||||
|
||||
/obj/vehicle/scooter/buckle_mob(mob/living/M, force = 0)
|
||||
if(!istype(M))
|
||||
return 0
|
||||
if(M.get_num_legs() < 2 && M.get_num_arms() <= 0)
|
||||
M << "<span class='warning'>Your limbless body can't use [src].</span>"
|
||||
return 0
|
||||
. = ..()
|
||||
|
||||
/obj/vehicle/scooter/post_buckle_mob(mob/living/M)
|
||||
vehicle_move_delay = initial(vehicle_move_delay)
|
||||
..()
|
||||
if(M.get_num_legs() < 2)
|
||||
vehicle_move_delay ++
|
||||
if(M.get_num_arms() <= 0)
|
||||
if(buckled_mobs.len)//to prevent the message displaying twice due to unbuckling
|
||||
M << "<span class='warning'>Your limbless body flops off \the [src].</span>"
|
||||
unbuckle_mob(M)
|
||||
|
||||
/obj/vehicle/scooter/skateboard
|
||||
name = "skateboard"
|
||||
@@ -92,7 +95,7 @@
|
||||
desc = "A metal frame for building a scooter. Looks like you'll need to add some metal to make wheels."
|
||||
icon = 'icons/obj/vehicles.dmi'
|
||||
icon_state = "scooter_frame"
|
||||
w_class = 3
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
|
||||
/obj/item/scooter_frame/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/weapon/wrench))
|
||||
@@ -104,11 +107,13 @@
|
||||
|
||||
else if(istype(I, /obj/item/stack/sheet/metal))
|
||||
var/obj/item/stack/sheet/metal/M = I
|
||||
if(M.amount < 5)
|
||||
if(M.get_amount() < 5)
|
||||
user << "<span class='warning'>You need at least five metal sheets to make proper wheels!</span>"
|
||||
return
|
||||
user << "<span class='notice'>You begin to add wheels to [src].</span>"
|
||||
if(do_after(user, 80, target = src))
|
||||
if(!M || M.get_amount() < 5)
|
||||
return
|
||||
M.use(5)
|
||||
user << "<span class='notice'>You finish making wheels for [src].</span>"
|
||||
new /obj/vehicle/scooter/skateboard(user.loc)
|
||||
@@ -117,7 +122,7 @@
|
||||
/obj/vehicle/scooter/skateboard/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/weapon/screwdriver))
|
||||
user << "<span class='notice'>You begin to deconstruct and remove the wheels on [src]...</span>"
|
||||
playsound(get_turf(user), 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
playsound(get_turf(user), I.usesound, 50, 1)
|
||||
if(do_after(user, 20, target = src))
|
||||
user << "<span class='notice'>You deconstruct the wheels on [src].</span>"
|
||||
new /obj/item/stack/sheet/metal(get_turf(src),5)
|
||||
@@ -131,6 +136,8 @@
|
||||
return
|
||||
user << "<span class='notice'>You begin making handlebars for [src].</span>"
|
||||
if(do_after(user, 25, target = src))
|
||||
if(!C || C.get_amount() < 2)
|
||||
return
|
||||
user << "<span class='notice'>You add the rods to [src], creating handlebars.</span>"
|
||||
C.use(2)
|
||||
new/obj/vehicle/scooter(get_turf(src))
|
||||
|
||||
Reference in New Issue
Block a user