Skip to content

Commit

Permalink
Merge pull request Civ13#2625 from KanohaShinobi/master
Browse files Browse the repository at this point in the history
efficient engine more efficient
  • Loading branch information
KanohaShinobi authored Feb 23, 2024
2 parents a995bee + c501018 commit 8100705
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions code/modules/1713/machinery/engines/internal_combustion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@
icon_state = "gasoline_static"
engineclass = "gasoline"

maxpower = 100
torque = 1.2
fuelefficiency = 0.003
maxpower = 500
torque = 5
fuelefficiency = 0.001
fuels = list("gasoline")

starting_snd = 'sound/machines/gasoline_starting.ogg'
Expand Down
6 changes: 3 additions & 3 deletions code/modules/1713/modern_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@
)
var/active = FALSE
var/next_spawn = -1
powerneeded = 500
powerneeded = 150

/obj/structure/drill/proc/check_power()
if (!powersource || !powerneeded)
Expand Down Expand Up @@ -1153,7 +1153,7 @@
playsound(loc, 'sound/machines/drill.ogg', 100, FALSE)
if (next_spawn == 0)
var/picked = pick(ore_types)

var/obj/item/stack/tospawn = new picked(null)
tospawn.amount = rand(10,30)
for (var/obj/item/stack/S in get_turf(src))
Expand All @@ -1166,7 +1166,7 @@
tospawn.loc = get_turf(src)
visible_message(SPAN_NOTICE("\The [src] drills up [tospawn.name]."))
next_spawn = 30

update_icon()
spawn (2 SECONDS)
next_spawn--
Expand Down
2 changes: 1 addition & 1 deletion config/host.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
taislin
Kanoha Shinobi

0 comments on commit 8100705

Please sign in to comment.