mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
Kinetic Accelerator Tweaks (#4949)
The results are in: Science doesn't always provide mining with kinetic accelerators. As a result of these findings, high level kinetic accelerators now have increased drop chances in the warehouse and in abandoned crates. Also, kinetic accelerators no longer dig holes.
This commit is contained in:
@@ -991,28 +991,33 @@
|
||||
desc = "Wew."
|
||||
icon = 'icons/obj/kinetic_accelerators.dmi'
|
||||
icon_state = "frame01"
|
||||
|
||||
spawnlist = list(
|
||||
/obj/item/toy/prize/honk
|
||||
)
|
||||
has_postspawn = TRUE
|
||||
post_spawn(obj/thing)
|
||||
var/list/frames = list(
|
||||
/obj/item/weapon/gun/custom_ka/frame01 = 3,
|
||||
/obj/item/weapon/gun/custom_ka/frame01 = 1,
|
||||
/obj/item/weapon/gun/custom_ka/frame02 = 2,
|
||||
/obj/item/weapon/gun/custom_ka/frame03 = 1
|
||||
/obj/item/weapon/gun/custom_ka/frame03 = 3,
|
||||
/obj/item/weapon/gun/custom_ka/frame04 = 2,
|
||||
/obj/item/weapon/gun/custom_ka/frame05 = 1
|
||||
)
|
||||
|
||||
var/list/cells = list(
|
||||
/obj/item/custom_ka_upgrade/cells/cell01 = 3,
|
||||
/obj/item/custom_ka_upgrade/cells/cell02 = 2,
|
||||
/obj/item/custom_ka_upgrade/cells/cell03 = 1
|
||||
/obj/item/custom_ka_upgrade/cells/cell01 = 2,
|
||||
/obj/item/custom_ka_upgrade/cells/cell02 = 3,
|
||||
/obj/item/custom_ka_upgrade/cells/cell03 = 2,
|
||||
/obj/item/custom_ka_upgrade/cells/cell04 = 1,
|
||||
/obj/item/custom_ka_upgrade/cells/cell05 = 1
|
||||
)
|
||||
|
||||
var/list/barrels = list(
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel01 = 3,
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel02 = 2,
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel03 = 1
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel01 = 2,
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel02 = 3,
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel03 = 2,
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel04 = 1,
|
||||
/obj/item/custom_ka_upgrade/barrels/barrel05 = 1
|
||||
)
|
||||
|
||||
var/frame_type = pickweight(frames)
|
||||
@@ -1029,4 +1034,6 @@
|
||||
spawned_frame.update_icon()
|
||||
spawned_frame.update_stats()
|
||||
|
||||
qdel(thing)
|
||||
qdel(thing)
|
||||
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@ var/list/global/random_stock_common = list(
|
||||
"phoronsheets" = 2,
|
||||
"hide" = 1,
|
||||
"arcade" = 2,
|
||||
"custom_ka" = 1,
|
||||
"nothing" = 0)
|
||||
|
||||
var/list/global/random_stock_uncommon = list(
|
||||
@@ -225,7 +226,6 @@ var/list/global/random_stock_rare = list(
|
||||
"humanhide" = 0.5,
|
||||
"modkit" = 1,
|
||||
"contraband" = 0.8,
|
||||
"custom_ka" = 0.5,
|
||||
"nothing" = 0)
|
||||
|
||||
var/list/global/random_stock_large = list(
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
if(isliving(A)) //Never do more than 15 damage to a living being per shot.
|
||||
damage = min(damage,15)
|
||||
|
||||
|
||||
strike_thing(A,aoe*aoe_scale,damage)
|
||||
|
||||
. = ..()
|
||||
@@ -31,9 +30,6 @@
|
||||
if(istype(target_turf, /turf/simulated/mineral))
|
||||
var/turf/simulated/mineral/M = target_turf
|
||||
M.kinetic_hit(damage,dir)
|
||||
else if(istype(target_turf, /turf/simulated/floor/asteroid))
|
||||
var/turf/simulated/floor/asteroid/A = target_turf
|
||||
A.gets_dug()
|
||||
|
||||
new /obj/effect/overlay/temp/kinetic_blast(target_turf)
|
||||
|
||||
|
||||
@@ -29,10 +29,9 @@
|
||||
new/obj/item/weapon/reagent_containers/food/snacks/grown/ambrosiadeus(src)
|
||||
new/obj/item/weapon/flame/lighter/zippo(src)
|
||||
if(6 to 10)
|
||||
new/obj/item/weapon/pickaxe/drill(src)
|
||||
new/obj/item/device/taperecorder(src)
|
||||
new/obj/item/clothing/suit/space(src)
|
||||
new/obj/item/clothing/head/helmet/space(src)
|
||||
new/obj/random/custom_ka(src)
|
||||
new/obj/random/custom_ka(src)
|
||||
new/obj/random/custom_ka(src)
|
||||
if(11 to 15)
|
||||
new/obj/item/weapon/reagent_containers/glass/beaker/bluespace(src)
|
||||
if(16 to 20)
|
||||
@@ -95,11 +94,7 @@
|
||||
new/obj/item/weapon/pickaxe/gold(src)
|
||||
if(81 to 82)
|
||||
new/obj/item/weapon/gun/energy/plasmacutter(src)
|
||||
if(83)
|
||||
new/obj/random/custom_ka(src)
|
||||
new/obj/random/custom_ka(src)
|
||||
new/obj/random/custom_ka(src)
|
||||
if(84)
|
||||
if(83 to 84)
|
||||
new/obj/item/toy/katana(src)
|
||||
if(85)
|
||||
new/obj/item/seeds/random(src)
|
||||
|
||||
Reference in New Issue
Block a user