Skip to content

Commit 90882eb

Browse files
Added libmysql.dll, a required file many lack to get the MySQL functions working.
Reverted air code configurations to default settings (originally changed to reduce lag at the cost of atmospheric accuracy.) Modified drop_bomb() to use explosion(), now provides greater control over the explosion to the user. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@40 316c924e-a436-60f5-8080-3fe189b3f50e
1 parent c9c2f3c commit 90882eb

File tree

5 files changed

+27
-62
lines changed

5 files changed

+27
-62
lines changed

Diff for: code/modules/admin/admin_verbs.dm

+25
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,9 @@
731731
/client/proc/drop_bomb() // Some admin dickery that can probably be done better -- TLE
732732
set category = "Special Verbs"
733733
set name = "Drop Bomb"
734+
set desc = "Cause an explosion of varying strength at your location."
735+
// Old code - mostly leaving in for legacy reasons. Remove it if you like.
736+
/*
734737
set desc = "Spawn a plasma tank with overloaded pressure. Will trigger explosion on next air cycle."
735738
var/bomb_strength = input("Enter a value greater than 299:", "Blowing Shit Up", 300) as num
736739
if(bomb_strength < 300)
@@ -740,6 +743,28 @@
740743
message_admins("\blue [src.ckey] dropping a plasma bomb at [bomb_strength] strength.")
741744
var/obj/item/weapon/tank/plasma/P = new(src.mob.loc)
742745
P.air_contents.toxins = bomb_strength
746+
*/
747+
var/turf/epicenter = src.mob.loc
748+
var/list/choices = list("Small Bomb", "Medium Bomb", "Big Bomb", "Custom Bomb")
749+
var/choice = input("What size explosion would you like to produce?") in choices
750+
switch(choice)
751+
if(null)
752+
return 0
753+
if("Small Bomb")
754+
explosion(epicenter, 1, 2, 3, 3)
755+
if("Medium Bomb")
756+
explosion(epicenter, 2, 3, 4, 4)
757+
if("Big Bomb")
758+
explosion(epicenter, 3, 5, 7, 5)
759+
if("Custom Bomb")
760+
var/devastation_range = input("Devastation range (in tiles):") as num
761+
var/heavy_impact_range = input("Heavy impact range (in tiles):") as num
762+
var/light_impact_range = input("Light impact range (in tiles):") as num
763+
var/flash_range = input("Flash range (in tiles):") as num
764+
explosion(epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range)
765+
message_admins("\blue [src.ckey] creating an admin explosion at [epicenter.loc].")
766+
767+
743768

744769

745770
/client/proc/make_cultist(var/mob/M in world) // -- TLE

Diff for: code/notes.dm

-59
This file was deleted.

Diff for: code/setup.dm

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,21 @@
1313
#define MOLES_PLASMA_VISIBLE 0.5 //Moles in a standard cell after which plasma is visible
1414

1515
#define BREATH_VOLUME 0.5 //liters in a normal breath
16-
//#define BREATH_VOLUME 500 // Buffing to increase the rate at which air is consumed. Used to be 0.5 -- TLE
1716
#define BREATH_PERCENTAGE BREATH_VOLUME/CELL_VOLUME
1817
//Amount of air to take a from a tile
1918
#define HUMAN_NEEDED_OXYGEN MOLES_CELLSTANDARD*BREATH_PERCENTAGE*0.16
2019
//Amount of air needed before pass out/suffocation commences
2120

2221

23-
#define MINIMUM_AIR_RATIO_TO_SUSPEND 0.1 // Was 0.05 -- TLE
22+
#define MINIMUM_AIR_RATIO_TO_SUSPEND 0.05
2423
//Minimum ratio of air that must move to/from a tile to suspend group processing
2524
#define MINIMUM_AIR_TO_SUSPEND MOLES_CELLSTANDARD*MINIMUM_AIR_RATIO_TO_SUSPEND
2625
//Minimum amount of air that has to move before a group processing can be suspended
2726

2827
#define MINIMUM_MOLES_DELTA_TO_MOVE MOLES_CELLSTANDARD*MINIMUM_AIR_RATIO_TO_SUSPEND //Either this must be active
2928
#define MINIMUM_TEMPERATURE_TO_MOVE T20C+100 //or this (or both, obviously)
3029

31-
#define MINIMUM_TEMPERATURE_RATIO_TO_SUSPEND 0.1 // Was 0.012 -- TLE
30+
#define MINIMUM_TEMPERATURE_RATIO_TO_SUSPEND 0.012
3231
#define MINIMUM_TEMPERATURE_DELTA_TO_SUSPEND 4
3332
//Minimum temperature difference before group processing is suspended
3433
#define MINIMUM_TEMPERATURE_DELTA_TO_CONSIDER 0.5

Diff for: icons/Thumbs.db

0 Bytes
Binary file not shown.

Diff for: libmysql.dll

1.45 MB
Binary file not shown.

0 commit comments

Comments
 (0)