mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
Merge pull request #722 from Cameron653/master
Xenoarch addition and sprite changes
This commit is contained in:
@@ -25,16 +25,17 @@
|
||||
/obj/item/weapon/pickaxe/excavationdrill
|
||||
name = "excavation drill"
|
||||
icon = 'icons/obj/xenoarchaeology_vr.dmi'
|
||||
icon_state = "excavationdrill"
|
||||
icon_state = "excavationdrill0"
|
||||
item_state = "syringe_0"
|
||||
excavation_amount = 15
|
||||
digspeed = 30
|
||||
desc = "Advanced archaeological drill combining ultrasonic excitation and bluespace manipulation to provide extreme precision. The diamond tip is adjustable from 1 to 30 cm."
|
||||
desc = "Advanced archaeological drill combining ultrasonic excitation and bluespace manipulation to provide extreme precision. The diamond tip is adjustable from 1 to 30 cms."
|
||||
drill_sound = 'sound/weapons/thudswoosh.ogg'
|
||||
drill_verb = "drilling"
|
||||
force = 15.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
attack_verb = list("drilled")
|
||||
hitsound = 'sound/weapons/circsawhit.ogg'
|
||||
|
||||
/obj/item/weapon/pickaxe/excavationdrill/attack_self(mob/user as mob)
|
||||
var/depth = input("Put the desired depth (1-30 centimeters).", "Set Depth", 30) as num
|
||||
@@ -43,6 +44,22 @@
|
||||
return
|
||||
excavation_amount = depth
|
||||
user << "<span class='notice'>You set the depth to [depth]cm.</span>"
|
||||
if (depth<4)
|
||||
icon_state = "excavationdrill0"
|
||||
else if (depth >=4 && depth <8)
|
||||
icon_state = "excavationdrill1"
|
||||
else if (depth >=8 && depth <12)
|
||||
icon_state = "excavationdrill2"
|
||||
else if (depth >=12 && depth <16)
|
||||
icon_state = "excavationdrill3"
|
||||
else if (depth >=16 && depth <20)
|
||||
icon_state = "excavationdrill4"
|
||||
else if (depth >=20 && depth <24)
|
||||
icon_state = "excavationdrill5"
|
||||
else if (depth >=24 && depth <28)
|
||||
icon_state = "excavationdrill6"
|
||||
else
|
||||
icon_state = "excavationdrill7"
|
||||
|
||||
/obj/item/weapon/pickaxe/excavationdrill/examine(mob/user)
|
||||
..()
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
/obj/item/device/depth_scanner //On second thought, the ano_scanner sprite looks better as a depth scanner instead of an anomaly scanner.
|
||||
icon_state = "ano_scanner"
|
||||
icon = 'icons/obj/xenoarchaeology_vr.dmi'
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 68 KiB |
@@ -2218,6 +2218,7 @@
|
||||
#include "code\modules\xenoarcheaology\tools\geosample_scanner.dm"
|
||||
#include "code\modules\xenoarcheaology\tools\suspension_generator.dm"
|
||||
#include "code\modules\xenoarcheaology\tools\tools.dm"
|
||||
#include "code\modules\xenoarcheaology\tools\tools_vr.dm"
|
||||
#include "code\modules\xenoarcheaology\tools\tools_pickaxe.dm"
|
||||
#include "code\modules\xenoarcheaology\tools\tools_pickaxe_vr.dm"
|
||||
#include "code\modules\xenobio2\_xeno_setup.dm"
|
||||
|
||||
Reference in New Issue
Block a user