mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
Merge pull request #1085 from Sharkmare/master
Giving Xenoarch 18 Unique Eguns
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//The chomp override of the VR override VR:CH
|
||||
/obj/item/weapon/gun/energy/laser/xenoarch
|
||||
icon = 'icons/obj/xenoegun/xeno-eguns_ch.dmi'
|
||||
|
||||
/obj/item/weapon/gun/energy/laser/practice/xenoarch
|
||||
icon = 'icons/obj/xenoegun/xeno-eguns_ch.dmi'
|
||||
|
||||
/obj/item/weapon/gun/energy/xray/xenoarch
|
||||
icon = 'icons/obj/xenoegun/xeno-eguns_ch.dmi'
|
||||
|
||||
/obj/item/weapon/gun/energy/captain/xenoarch
|
||||
icon = 'icons/obj/xenoegun/xeno-eguns_ch.dmi'
|
||||
@@ -295,7 +295,7 @@
|
||||
if(spawn_type)
|
||||
var/obj/item/weapon/gun/energy/new_gun = new spawn_type(src.loc)
|
||||
new_item = new_gun
|
||||
new_item.icon_state = "egun[rand(1,12)]"
|
||||
new_item.icon_state = "egun[rand(1,18)]" //CHOMPStation Edit: We now reference our own DMI which has 18 unique guns.
|
||||
new_gun.desc = "This is an antique energy weapon, you're not sure if it will fire or not."
|
||||
|
||||
//5% chance to explode when first fired
|
||||
@@ -551,7 +551,7 @@
|
||||
var/obj/item/weapon/reagent_containers/syringe/S = new_item
|
||||
|
||||
S.volume = 30
|
||||
//If S hasn't initialized yet, S.reagents will be null.
|
||||
//If S hasn't initialized yet, S.reagents will be null.
|
||||
//However, in that case Initialize will set the maximum volume to the volume for us, so we don't need to do anything.
|
||||
S.reagents?.maximum_volume = 30
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -4010,6 +4010,7 @@
|
||||
#include "code\modules\xenoarcheaology\effects\teleport.dm"
|
||||
#include "code\modules\xenoarcheaology\effects\vampire.dm"
|
||||
#include "code\modules\xenoarcheaology\finds\eguns.dm"
|
||||
#include "code\modules\xenoarcheaology\finds\eguns_vr_ch.dm"
|
||||
#include "code\modules\xenoarcheaology\finds\find_spawning.dm"
|
||||
#include "code\modules\xenoarcheaology\finds\finds.dm"
|
||||
#include "code\modules\xenoarcheaology\finds\finds_defines.dm"
|
||||
|
||||
Reference in New Issue
Block a user