![]() ![]() To_chat(user, span_danger( "The display says, 'NO CORE INSTALLED'. obj /item /gun /energy /wormhole_projector /shoot_with_empty_chamber( mob /living /user) obj /item /gun /energy /wormhole_projector /can_shoot() loc, 'sound/machines/click.ogg ', 50, TRUE) To_chat(user, span_notice( "You insert into the wormhole projector and the weapon gently hums to life. If(istype( C, / obj /item /assembly /signaler /anomaly /bluespace)) obj /item /gun /energy /wormhole_projector /attackby( obj /item / C, mob /user) charge Left-click to fire blue wormholes and right-click to fire orange wormholes. Alternately it'll need to drain amount*charge_weld every period, which is either obscene or makes it free for other uses Then it'll drain 125 at first and 25 periodically, but fail if charge dips below 125 even though it still can finish action Amount cannot be used if drain is made continuous, e.g. obj /item /gun /energy /plasmacutter /tool_use_check( mob /living /user, amount)īalloon_alert(user, "no cell inserted! ") Amount cannot be defaulted to 1: most of the code specifies 0 in the call. Can we weld? Plasma cutter does not use charge continuously. visible_message(span_danger( "Concentrated plasma discharges from onto, burning them! "), span_userdanger( " malfunctions, spewing concentrated plasma onto you! It burns! ")) obj /item /gun /energy /plasmacutter /emp_act(severity) If(istype( I, / obj /item /stack /ore /plasma))īalloon_alert(user, "already fully charged! ") If(istype( I, / obj /item /stack /sheet /mineral /plasma)) Var/ charge_multiplier = 0 //2 = Refined stack, 1 = Ore obj /item /gun /energy /plasmacutter /attackby( obj /item / I, mob /user) obj /item /gun /energy /plasmacutter /examine( mob /user) ![]() obj /item /gun /energy /plasmacutter /Initialize(mapload)ĪddElement( / datum /element /update_icon_blocker)ĪddComponent( / datum /component /butchering, \īutcher_sound = 'sound/weapons/plasma_cutter.ogg ', \ĪddElement( / datum /element /tool_flash, 1) Var/ charge_weld = 25 //amount of charge used up to start action (multiplied by amount) and per progress_flash_divisor ticks of welding Toolspeed = 0.7 //plasmacutters can be used as welders, and are faster than standard welders Usesound = list( 'sound/items/welder.ogg ', 'sound/items/welder2.ogg ') "Īmmo_type = list( / obj /item /ammo_casing /energy /plasma)Īttack_verb_continuous = list( "attacks ", "slashes ", "cuts ", "slices ")Īttack_verb_simple = list( "attack ", "slash ", "cut ", "slice ") You could use it to cut limbs off xenos! Or, you know, mine stuff. "Īmmo_type = list( / obj /item /ammo_casing /energy /mindflayer)ĭesc = "A mining tool capable of expelling concentrated plasma bursts. Righthand_file = 'icons/mob/inhands/items_righthand.dmi 'ĭesc = "A prototype weapon recovered from the ruins of Research-Station Epsilon. Lefthand_file = 'icons/mob/inhands/items_lefthand.dmi ' "Īmmo_type = list( / obj /item /ammo_casing /energy /flora /yield, / obj /item /ammo_casing /energy /flora /mut, / obj /item /ammo_casing /energy /flora /revolution)ĭesc = "For the love of god, make sure you're aiming this the right way! "Īmmo_type = list( / obj /item /ammo_casing /energy /meteor)Ĭell_type = / obj /item /stock_parts /cell /potatoĬlumsy_check = 0 //Admin spawn only, might as well let clowns use it.ĭesc = "The pen is mightier than the sword. obj /item /gun /energy /decloner /unrestrictedĪmmo_type = list( / obj /item /ammo_casing /energy /declone /weak)ĭesc = "A tool that discharges controlled radiation which induces mutation in plant cells. Var/ obj/item/ammo_casing/energy/ shot = ammo_type obj /item /gun /energy /decloner /update_overlays() "Īmmo_type = list( / obj /item /ammo_casing /energy /declone) We use the same overlay as the parent, so we can just let the component inherit the correct offsets hereĪddComponent( / datum /component /seclite_attachable, overlay_x = 18, overlay_y = 11)ĭesc = "A gun that discharges high amounts of controlled radiation to slowly break a target into component elements. obj /item /gun /energy /ionrifle /carbineĭesc = "The MK.II Prototype Ion Projector is a lightweight carbine version of the larger ion rifle, built to be ergonomic and efficient. obj /item /gun /energy /ionrifle /emp_act(severity) Light_overlay_icon = 'icons/obj/weapons/guns/flashlights.dmi ', \ obj /item /gun /energy /ionrifle /add_seclight_point()ĪddComponent( / datum /component /seclite_attachable, \ Inhand_icon_state = null //so the human update icon uses the icon_state instead.Īmmo_type = list( / obj /item /ammo_casing /energy /ion) Desc = "A man-portable anti-armor weapon designed to disable mechanical threats at range. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |