f4f8a686df
* Goof I will find you and I will berate you holy hell Calm and peaceful ahhhhh I swear goofs pc failing was the biggest tragedy in gaming Fixes some flags More touchups Now to squash Goofs PC failing was the biggest tragady in GAMING * Fixing some misspellings before the bee gets me * GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF * Full vehicle support * Changes some flags around, "fixes" some bugs, makes being shocked less insane * Makes spliting more reasonable, unfucks some shitty tesla code I copypasta'd into the sm, godspeed shitcode, none noticed you. * Removes my tesla_ignore_1 fix, another pr is up that should solve things, so we're just leaving it in for now, gonna have to deal with merge conflicts when it gets merged, but that won't be too bad * tfw * Nothing to see here folks * I'm a boomer
23 lines
744 B
Plaintext
23 lines
744 B
Plaintext
/obj/vehicle/ridden/bicycle
|
|
name = "bicycle"
|
|
desc = "Keep away from electricity."
|
|
icon_state = "bicycle"
|
|
fall_off_if_missing_arms = TRUE
|
|
|
|
/obj/vehicle/ridden/bicycle/Initialize()
|
|
. = ..()
|
|
var/datum/component/riding/D = LoadComponent(/datum/component/riding)
|
|
D.set_riding_offsets(RIDING_OFFSET_ALL, list(TEXT_NORTH = list(0, 4), TEXT_SOUTH = list(0, 4), TEXT_EAST = list(0, 4), TEXT_WEST = list( 0, 4)))
|
|
D.vehicle_move_delay = 0
|
|
|
|
|
|
/obj/vehicle/ridden/bicycle/zap_act(zap_str, zap_flags, shocked_targets) // :::^^^)))
|
|
//This didn't work for 3 years because none ever tested it I hate life
|
|
name = "fried bicycle"
|
|
desc = "Well spent."
|
|
color = rgb(63, 23, 4)
|
|
can_buckle = FALSE
|
|
. = ..()
|
|
for(var/m in buckled_mobs)
|
|
unbuckle_mob(m,1)
|