This commit is contained in:
ZomgPonies
2014-05-12 01:11:48 -04:00
10 changed files with 5451 additions and 5372 deletions
+63 -4
View File
@@ -5,6 +5,65 @@
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
#define FILE_DIR "code"
#define FILE_DIR "code/TriDimension"
#define FILE_DIR "code/WorkInProgress"
#define FILE_DIR "code/WorkInProgress/Cael_Aislinn"
#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/Jungle"
#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/Rust"
#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/ShieldGen"
#define FILE_DIR "code/WorkInProgress/Cael_Aislinn/Supermatter"
#define FILE_DIR "code/WorkInProgress/Susan"
#define FILE_DIR "html"
#define FILE_DIR "icons"
#define FILE_DIR "icons/48x48"
#define FILE_DIR "icons/ass"
#define FILE_DIR "icons/effects"
#define FILE_DIR "icons/mecha"
#define FILE_DIR "icons/misc"
#define FILE_DIR "icons/mob"
#define FILE_DIR "icons/mob/human_races"
#define FILE_DIR "icons/mob/otherHuman"
#define FILE_DIR "icons/NTOS"
#define FILE_DIR "icons/obj"
#define FILE_DIR "icons/obj/assemblies"
#define FILE_DIR "icons/obj/atmospherics"
#define FILE_DIR "icons/obj/clothing"
#define FILE_DIR "icons/obj/doors"
#define FILE_DIR "icons/obj/flora"
#define FILE_DIR "icons/obj/machines"
#define FILE_DIR "icons/obj/pipes"
#define FILE_DIR "icons/obj/power_cond"
#define FILE_DIR "icons/pda_icons"
#define FILE_DIR "icons/pods"
#define FILE_DIR "icons/spideros_icons"
#define FILE_DIR "icons/stamp_icons"
#define FILE_DIR "icons/Testing"
#define FILE_DIR "icons/turf"
#define FILE_DIR "icons/vending_icons"
#define FILE_DIR "nano"
#define FILE_DIR "nano/images"
#define FILE_DIR "sound"
#define FILE_DIR "sound/AI"
#define FILE_DIR "sound/ambience"
#define FILE_DIR "sound/effects"
#define FILE_DIR "sound/effects/turret"
#define FILE_DIR "sound/effects/wind"
#define FILE_DIR "sound/hallucinations"
#define FILE_DIR "sound/items"
#define FILE_DIR "sound/machines"
#define FILE_DIR "sound/mecha"
#define FILE_DIR "sound/misc"
#define FILE_DIR "sound/music"
#define FILE_DIR "sound/piano"
#define FILE_DIR "sound/turntable"
#define FILE_DIR "sound/violin"
#define FILE_DIR "sound/voice"
#define FILE_DIR "sound/voice/complionator"
#define FILE_DIR "sound/voice/Serithi"
#define FILE_DIR "sound/vox"
#define FILE_DIR "sound/vox_fem"
#define FILE_DIR "sound/weapons"
// END_FILE_DIR
// BEGIN_PREFERENCES
#define DEBUG
@@ -860,10 +919,10 @@
#include "code\modules\customitems\item_spawning.dm"
#include "code\modules\customitems\definitions\base.dm"
#include "code\modules\destilery\main.dm"
#include "code\modules\detectivework\detective_work.dm"
#include "code\modules\detectivework\evidence.dm"
#include "code\modules\detectivework\footprints_and_rag.dm"
#include "code\modules\detectivework\scanner.dm"
#include "code\modules\DetectiveWork\detective_work.dm"
#include "code\modules\DetectiveWork\evidence.dm"
#include "code\modules\DetectiveWork\footprints_and_rag.dm"
#include "code\modules\DetectiveWork\scanner.dm"
#include "code\modules\economy\Accounts.dm"
#include "code\modules\economy\Accounts_DB.dm"
#include "code\modules\economy\ATM.dm"
@@ -141,7 +141,8 @@ ________________________________________________________________________________
//Now let's do the normal processing.
if(s_coold) s_coold--//Checks for ability s_cooldown first.
var/A = s_cost//s_cost is the default energy cost each ntick, usually 5.
var/A = 0 - s_regen//s_regen is the default energy regen each ntick, usually 5.
if(U.stat == 2)
U << browse(null, "window=spideros")
explosion(U.loc, 0, 1, 3, 4)
@@ -153,15 +154,20 @@ ________________________________________________________________________________
return
if(!kamikaze)
if(blade_check(U))//If there is a blade held in hand.
A += s_acost
A += s_cost
if(s_active)//If stealth is active.
A += s_acost
A += s_cost
else
if(prob(s_delay))//Suit delay is used as probability. May change later.
U.adjustBruteLoss(k_damage)//Default damage done, usually 1.
A = k_cost//kamikaze cost.
cell.charge-=A
if(src.cell.maxcharge < src.cell.charge)
src.cell.charge = src.cell.maxcharge
if(cell.charge<=0)
if(kamikaze)
U.say("I DIE TO LIVE AGAIN!")
+3 -3
View File
@@ -564,10 +564,10 @@ As such, it's hard-coded for now. No reason for it not to be, really.
//Randomizes suit parameters.
/obj/item/clothing/suit/space/space_ninja/proc/randomize_param()
s_cost = rand(1,20)
s_acost = rand(20,100)
s_regen = rand(1,15)
s_cost = rand(20,100)
k_cost = rand(100,500)
k_damage = rand(1,20)
k_damage = rand(1,10)
s_delay = rand(10,100)
s_bombs = rand(5,20)
a_boost = rand(1,7)
+1
View File
@@ -59,6 +59,7 @@
icon_state = "s-ninja(norm)"
item_state = "s-ninja_mask"
vchange = 1
unacidable = 1
siemens_coefficient = 0.2
/obj/item/clothing/mask/gas/voice/space_ninja/scar
+2 -2
View File
@@ -36,8 +36,8 @@
//Main function variables.
var/s_initialized = 0//Suit starts off.
var/s_coold = 0//If the suit is on cooldown. Can be used to attach different cooldowns to abilities. Ticks down every second based on suit ntick().
var/s_cost = 5.0//Base energy cost each ntick.
var/s_acost = 25.0//Additional cost for additional powers active.
var/s_regen = 5.0//Base energy regen each ntick.
var/s_cost = 25.0//Additional cost for additional powers active.
var/k_cost = 200.0//Kamikaze energy cost each ntick.
var/k_damage = 1.0//Brute damage potentially done by Kamikaze each ntick.
var/s_delay = 40.0//How fast the suit does certain things, lower is faster. Can be overridden in specific procs. Also determines adverse probability.
+9 -6
View File
@@ -96,7 +96,7 @@
icon_state = "rig-engineering"
item_state = "eng_hardsuit"
slowdown = 1
armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 35, bio = 100, rad = 80)
armor = list(melee = 30, bullet = 5, laser = 20,energy = 5, bomb = 20, bio = 100, rad = 80)
allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/weapon/storage/bag/ore,/obj/item/device/t_scanner,/obj/item/weapon/pickaxe, /obj/item/weapon/rcd)
heat_protection = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS
max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECITON_TEMPERATURE
@@ -110,6 +110,7 @@
icon_state = "rig0-white"
item_state = "ce_helm"
_color = "white"
armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 25, bio = 100, rad = 80)
/obj/item/clothing/suit/space/rig/elite
icon_state = "rig-white"
@@ -117,6 +118,7 @@
desc = "An advanced suit that protects against hazardous, low pressure environments. Shines with a high polish."
item_state = "ce_hardsuit"
flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE | ONESIZEFITSALL
armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 25, bio = 100, rad = 80)
//Singuloth armor
@@ -126,6 +128,7 @@
icon_state = "rig0-singuloth"
item_state = "singuloth_helm"
_color = "singuloth"
armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 25, bio = 100, rad = 80)
/obj/item/clothing/suit/space/rig/singuloth
icon_state = "rig-singuloth"
@@ -133,7 +136,7 @@
desc = "This is a ceremonial armor from the chapter of the Singuloth Knights. It's made of pure forged adamantium."
item_state = "singuloth_hardsuit"
flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE
armor = list(melee = 40, bullet = 5, laser = 20,energy = 5, bomb = 25, bio = 100, rad = 80)
//Mining rig
/obj/item/clothing/head/helmet/space/rig/mining
name = "mining hardsuit helmet"
@@ -235,7 +238,7 @@
icon_state = "rig0-sec"
item_state = "sec_helm"
_color = "sec"
armor = list(melee = 60, bullet = 10, laser = 30, energy = 5, bomb = 45, bio = 100, rad = 10)
armor = list(melee = 50, bullet = 10, laser = 30, energy = 15, bomb = 45, bio = 100, rad = 10)
siemens_coefficient = 0.7
/obj/item/clothing/suit/space/rig/security
@@ -243,7 +246,7 @@
name = "security hardsuit"
desc = "A special suit that protects against hazardous, low pressure environments. Has an additional layer of armor."
item_state = "sec_hardsuit"
armor = list(melee = 60, bullet = 10, laser = 30, energy = 5, bomb = 45, bio = 100, rad = 10)
armor = list(melee = 50, bullet = 10, laser = 30, energy = 15, bomb = 45, bio = 100, rad = 10)
allowed = list(/obj/item/weapon/gun,/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/weapon/melee/baton)
siemens_coefficient = 0.7
flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE | ONESIZEFITSALL
@@ -279,7 +282,7 @@
icon_state = "rig0-atmos"
item_state = "atmos_helm"
_color = "atmos"
armor = list(melee = 40, bullet = 0, laser = 0, energy = 0, bomb = 25, bio = 100, rad = 0)
armor = list(melee = 30, bullet = 0, laser = 0, energy = 0, bomb = 20, bio = 100, rad = 0)
max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECITON_TEMPERATURE
/obj/item/clothing/suit/space/rig/atmos
@@ -287,6 +290,6 @@
icon_state = "rig-atmos"
name = "atmos hardsuit"
item_state = "atmos_hardsuit"
armor = list(melee = 40, bullet = 0, laser = 0, energy = 0, bomb = 25, bio = 100, rad = 0)
armor = list(melee = 30, bullet = 0, laser = 0, energy = 0, bomb = 20, bio = 100, rad = 0)
max_heat_protection_temperature = FIRESUIT_MAX_HEAT_PROTECITON_TEMPERATURE
flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE | ONESIZEFITSALL
@@ -545,4 +545,10 @@
New()
..()
reagents.add_reagent("cola", 50)
on_reagent_change()
on_reagent_change()
/obj/item/weapon/reagent_containers/food/drinks/drinkingglass/devilskiss
New()
..()
reagents.add_reagent("devilskiss", 50)
on_reagent_change()
+2 -2
View File
@@ -116,11 +116,11 @@
if(damage > emergency_point)
radio.autosay(addtext(emergency_alert, " Stability: ",stability,"%"), "Supermatter Monitor")
radio.autosay(addtext(emergency_alert, " Instability: ",stability,"%"), "Supermatter Monitor")
lastwarning = world.timeofday
else if(damage >= damage_archived) // The damage is still going up
radio.autosay(addtext(warning_alert," Stability: ",stability,"%"), "Supermatter Monitor")
radio.autosay(addtext(warning_alert," Instability: ",stability,"%"), "Supermatter Monitor")
lastwarning = world.timeofday - 150
else // Phew, we're safe
+5349 -5333
View File
File diff suppressed because it is too large Load Diff
+6 -18
View File
@@ -3,39 +3,27 @@
<html>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<head>
<link rel='stylesheet' type='text/css' href='shared.css'><link rel='stylesheet' type='text/css' href='icons.css'>
</head>
<body scroll=auto data-url-parameters='{"src":"[0x2100e3fe]"}' data-template-data='{"main":"vending.tmpl"}' data-initial-data='{"premiumItems":[],"contraband":{"/obj/item/weapon/reagent_containers/food/snacks/syndicake":6},"products":{"/obj/item/weapon/reagent_containers/food/snacks/candy":6,"/obj/item/weapon/reagent_containers/food/drinks/dry_ramen":6,"/obj/item/weapon/reagent_containers/food/snacks/chips":6,"/obj/item/weapon/reagent_containers/food/snacks/sosjerky":6,"/obj/item/weapon/reagent_containers/food/snacks/no_raisin":6,"/obj/item/weapon/reagent_containers/food/snacks/spacetwinkie":6,"/obj/item/weapon/reagent_containers/food/snacks/cheesiehonkers":6},"coin":null,"extendedInventory":0,"panelOpen":0,"productData":[{"amount":6,"name":"candy","price":20,"displayColor":"red","itself":"[0x2100ac7a]","path":"/obj/item/weapon/reagent_containers/food/snacks/candy"},{"amount":6,"name":"Cup Ramen","price":30,"displayColor":"green","itself":"[0x2100ac77]","path":"/obj/item/weapon/reagent_containers/food/drinks/dry_ramen"},{"amount":6,"name":"chips","price":25,"displayColor":"green","itself":"[0x2100ac74]","path":"/obj/item/weapon/reagent_containers/food/snacks/chips"},{"amount":6,"name":"Scaredy`s Private Reserve Beef Jerky","price":30,"displayColor":"blue","itself":"[0x2100ac71]","path":"/obj/item/weapon/reagent_containers/food/snacks/sosjerky"},{"amount":6,"name":"4no Raisins","price":20,"displayColor":"blue","itself":"[0x2100ac6e]","path":"/obj/item/weapon/reagent_containers/food/snacks/no_raisin"},{"amount":6,"name":"Space Twinkie","price":30,"displayColor":"blue","itself":"[0x2100ac6b]","path":"/obj/item/weapon/reagent_containers/food/snacks/spacetwinkie"},{"amount":6,"name":"Cheesie Honkers","price":25,"displayColor":"red","itself":"[0x2100ac68]","path":"/obj/item/weapon/reagent_containers/food/snacks/cheesiehonkers"}],"premiumData":[],"contrabandData":[{"amount":6,"name":"Syndi-Cakes","price":null,"displayColor":"green","itself":"[0x2100ac64]","path":"/obj/item/weapon/reagent_containers/food/snacks/syndicake"}],"ui":{"status":2,"user":{"name":"Rhetta Butterfill"}}}'>
<script type='text/javascript'>
function receiveUpdateData(jsonString)
{
// We need both jQuery and NanoUpdate to be able to recieve data
// At the moment any data received before those libraries are loaded will be lost
if (typeof NanoUpdate != 'undefined' && typeof jQuery != 'undefined')
{
NanoUpdate.receiveUpdateData(jsonString);
}
else
{
alert('receiveUpdateData error: something is not defined!');
if (typeof NanoUpdate == 'undefined')
{
alert('NanoUpdate not defined!');
}
if (typeof jQuery == 'undefined')
{
alert('jQuery not defined!');
}
}
// At the moment any data received before those libraries are loaded will be lost
}
</script>
<script type='text/javascript' src='libraries.min.js'></script> <script type='text/javascript' src='nano_config.js'></script> <script type='text/javascript' src='nano_update.js'></script> <script type='text/javascript' src='nano_base_helpers.js'></script> <link rel='stylesheet' type='text/css' href='shared.css'> <link rel='stylesheet' type='text/css' href='icons.css'>
</head>
<body scroll=auto data-url-parameters='{"src":"[0x21013192]"}' data-template-data='{"main":"smes.tmpl"}' data-initial-data='{"nameTag":null,"storedCapacity":17.30000114440918,"charging":0,"chargeMode":0,"chargeLevel":50000,"chargeMax":200000,"outputOnline":1,"outputLevel":50000,"outputMax":200000,"outputLoad":7101,"ui":{"status":2,"user":{"name":"Captain"}}}'>
<div id='uiWrapper'>
<div id='uiTitleWrapper'><div id='uiStatusIcon' class='icon24 uiStatusGood'></div><div id='uiTitle'>Vending Machine</div><div id='uiTitleFluff'></div></div>
<div id='uiTitleWrapper'><div id='uiStatusIcon' class='icon24 uiStatusGood'></div><div id='uiTitle'>SMES Power Storage Unit</div><div id='uiTitleFluff'></div></div>
<div id='uiContent'>
<noscript><div id='uiNoJavaScript'>Your browser does not have JavaScript enabled. Please enable JavaScript, then restart SS13.</div></noscript>
<div id='mainTemplate'></div>
<script type='text/javascript' src='1-jquery.js'></script><script type='text/javascript' src='2-jsviews.js'></script><script type='text/javascript' src='3-jquery.timers.js'></script><script type='text/javascript' src='nano_update.js'></script><script type='text/javascript' src='nano_config.js'></script><script type='text/javascript' src='nano_base_helpers.js'></script>
</div>
</div>
</body>