mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-12 23:54:24 +01:00
Initial Commit
Setting the stage for xenobio guns
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
/obj/item/weapon/gun/energy/xenobio
|
||||
name = "xenobio gun"
|
||||
desc = "You shouldn't see this!"
|
||||
icon_state = "taserblue"
|
||||
fire_sound = 'sound/weapons/taser2.ogg'
|
||||
charge_cost = 120 // Twice as many shots.
|
||||
projectile_type = /obj/item/projectile/beam/stun/xeno // Place holder for now
|
||||
accuracy = 30 // Just use the same hit rate as xenotasers
|
||||
var/loadable_item = null
|
||||
var/loaded_item = null
|
||||
|
||||
/obj/item/weapon/gun/energy/xenobio/examine(var/mob/user)
|
||||
. = ..()
|
||||
if(loaded_item)
|
||||
.+= "A [loaded_item] is slotted into the side."
|
||||
else
|
||||
.+= "There appears to be an empty slot for attaching a [loadable_item]."
|
||||
|
||||
/obj/item/weapon/gun/energy/xenobio/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, loadable_item))
|
||||
if(loaded_item)
|
||||
to_chat(user, "<font color='blue'>[I] doesn't seem to fit into [src].</font>")
|
||||
return
|
||||
//var/obj/item/weapon/reagent_containers/glass/beaker/B = I
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
loaded_item = I
|
||||
to_chat(user, "<font color='blue'>You slot [B] into [src].</font>")
|
||||
return 1
|
||||
..()
|
||||
/obj/item/weapon/gun/energy/xenobio/monkey_gun
|
||||
name = "Bluespace Cube Rehydrater"
|
||||
desc = "This advanced weapon will rehydrate and deploy a loaded cube at your target position."
|
||||
loadable_item = /obj/item/weapon/reagent_containers/food/snacks/monkeycube
|
||||
|
||||
/obj/item/weapon/gun/energy/xenobio/potion_gun
|
||||
name = "Ranged Potion Delivery Device"
|
||||
desc = "This device is designed to deliver a potion to your target at range, it has a slot to attach a xenobio potion.
|
||||
loadable_item = /obj/item/slimepotion
|
||||
|
||||
/obj/item/weapon/gun/energy/xenobio/extract_gun
|
||||
name = "Ranged Extract Interaction Device"
|
||||
desc = "This is the latest in extract interaction technology! No longer shall you stand in harms way when activating a gold slime."
|
||||
loadable_item = /obj/item/slime_extract
|
||||
+2
-1
@@ -4056,6 +4056,7 @@
|
||||
#include "code\modules\xenobio\items\slimepotions.dm"
|
||||
#include "code\modules\xenobio\items\slimepotions_vr.dm"
|
||||
#include "code\modules\xenobio\items\weapons.dm"
|
||||
#include "code\modules\xenobio\items\weapons_vr.dm"
|
||||
#include "code\modules\xenobio\machinery\processor.dm"
|
||||
#include "code\modules\xgm\xgm_gas_data.dm"
|
||||
#include "code\modules\xgm\xgm_gas_mixture.dm"
|
||||
@@ -4103,7 +4104,6 @@
|
||||
#include "maps\southern_cross\loadout\loadout_suit.dm"
|
||||
#include "maps\southern_cross\loadout\loadout_uniform.dm"
|
||||
#include "maps\southern_cross\loadout\loadout_vr.dm"
|
||||
#include "maps\stellardelight\stellar_delight.dm"
|
||||
#include "maps\submaps\_helpers.dm"
|
||||
#include "maps\submaps\_readme.dm"
|
||||
#include "maps\submaps\engine_submaps\engine.dm"
|
||||
@@ -4113,5 +4113,6 @@
|
||||
#include "maps\submaps\space_submaps\debrisfield\debrisfield.dm"
|
||||
#include "maps\submaps\surface_submaps\wilderness\wilderness.dm"
|
||||
#include "maps\submaps\surface_submaps\wilderness\wilderness_areas.dm"
|
||||
#include "maps\virgo_minitest\virgo_minitest.dm"
|
||||
#include "maps\~map_system\maps.dm"
|
||||
// END_INCLUDE
|
||||
|
||||
Reference in New Issue
Block a user