Commit Graph

52 Commits

Author SHA1 Message Date
SkyMarshal
aeb850fef0 Working UL 2012-06-18 15:02:34 -07:00
SkyMarshal
770e09ce5d Merge pull request #1191 from Mloc/varfix
Huge commit!  Standardizes var definitions in most places.
2012-05-30 11:07:27 -07:00
Aryn
da12638dcc Hotfix to update_visuals() to make it compatible with the integer-based checks. 2012-05-30 01:50:58 -06:00
Mloc
fbb67b2e42 Huge commit! Standardizes var definitions in most places.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-29 16:26:48 +01:00
SkyMarshal
58570a0f65 As many bugfixes as I could cram into here. 2012-05-20 14:23:10 -07:00
SkyMarshal
be6368b71c Bugfixes for some temperature sharing, added variable editing by reference, fixed up some wound stuff. 2012-05-13 23:18:02 -07:00
SkyMarshal
c7133a17a7 Adds runtime detection to the atmos ticker. 20 ticks of runtimes, total, will kill atmos. 2012-05-13 22:14:53 -07:00
SkyMarshal
c54d44517e Some feedback shit for deleted airgroups, as well as a possible fix for NT and his admins command. 2012-05-13 21:14:18 -07:00
Albert Iordache
2c08c02099 Tempfix for atmos runtime errors 2012-05-13 22:21:53 +03:00
Albert Iordache
f73191b6e3 TempFix for air groups being nulled and crashing the server 2012-05-12 20:04:20 +03:00
SkyMarshal
893529c69e Fixes some FEA stuff, for a general improvement to how well the system runs. 2012-05-11 18:19:00 -07:00
SkyMarshal
50f7332740 Lets not keep debug in, whoops. 2012-05-11 18:06:21 -07:00
SkyMarshal
502c66664c Some more work on FEA, WIP FEA/ZAS work, does not effect the game currently. 2012-05-11 18:06:21 -07:00
SkyMarshal
15d72e3b0e Improves how gas mixture datums are handled, reduces proc calls, commenting. Removed ghost-heating from cryo and "oxygen_agent_b" gas type. 2012-05-11 18:02:30 -07:00
Erthilo
1a5d772ae5 TG: Fixes some runtimes, involving do_mob, observe, send_status on mulebots,
check_gas_mixture, the explosion cinematic, sleeper get_reagents_amount, and a
possible (albeit unlikely) fix for throw_at
Revision: r3478
Author: 	 quartz235
2012-05-05 22:13:20 +01:00
Ren Erthilo
ae5ea54af1 Reverts ZAS
This reverts commit fd09ea6ce8. and https://github.com/Baystation12/Baystation12/pull/681
2012-04-10 17:38:44 +01:00
Ren Erthilo
7cf7c7775a Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-03-30 06:18:37 +01:00
Albert Iordache
159fd0bfc9 Fixed a runtime error related to the group_multiplier of an air mixture being 0
In certain cases, zones would be emptied completely of turfs, thereby causing division by zero errors in FEA due to operations involving group_multiplier.
2012-03-29 23:45:48 +03:00
Ren Erthilo
63c027aca9 Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-03-29 08:37:47 +01:00
Miniature
6f2726abb0 Revert "Made space heaters work"
This reverts commit f772804da7.

Broke vent pumps a bit
2012-03-28 23:50:15 +10:30
Miniature
f772804da7 Made space heaters work (might break other stuff, maybe, I believe someone was working on making high pressures hurt people, no idea how that's being done so that might be an example) 2012-03-28 16:40:28 +10:30
Ren Erthilo
f7e8bcd591 TG: Emitters emp_act now uses severity properly.
The PA can no longer be remotely controlled by humans and cyborgs can only
control it if they are nearby.
The spawn PA can now be taken apart.
FireAx/Extinguisher closets got their own files.
Food closets are now with their defines.
Freezer closet/crates override return_air() to cooldown the contents.
The var isinfreezer has been eliminated.
The old player panel has been readded as an alt for the new one, it may be found
under the Player Panel verb.
The new player panel may be accessed by the Player Panel-New verb.
Crates.dm moved from the storage folder as it is not a storage object.
Fixed  Issue 227  about the PA shooting when it should not be. r2851
2012-03-26 18:46:08 +01:00
Albert Iordache
a38f602444 Added some asserts for FEA code, to help fix a runtime error. 2012-03-26 20:01:43 +03:00
unknown
4861e100be Zoned Atmos System, merged properly from aryn's repo.
- Explosive (de)compression, breaches are much more fun!
- Improved fire
- Faster system, with less splitting

Signed-off-by: unknown <Colm@Blue.(none)>
2012-03-15 22:40:00 +00:00
Tastyfish
8b6441d8d0 Merge remote-tracking branch 'upstream/master' 2012-02-13 01:12:13 -05:00
Tastyfish
e20d4cf4db unvert abi's commit now that we foudn the problem 2012-02-13 01:07:43 -05:00
Tastyfish
47ec6a7021 re-renable things, now that things aren't exploding 2012-02-13 01:01:33 -05:00
Uristqwerty
8e84ff57df Three fixes for the Runtime Errors topic.
- null.check_tile_graphic() in FEA_system
- "Cancel".network in /proc/camera_network_sort
- "d699999427062f612349cb4948a6eb...".len (Might not be fixed entirely, but I fixed one place that it was being set incorrectly)
2012-02-12 13:54:52 -05:00
Tastyfish
35ae4bd5f3 turns out things broke from abi's runtime fix because that proc shouldn't ever be called here 2012-02-05 01:07:57 -05:00
Albert Iordache
97883f63c2 Fix for an atmos runtime error. 2012-02-04 11:38:26 +02:00
bbusse@gmail.com
1eff2da8fb Runtime fix: division by zero
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2327 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-04 01:58:47 +00:00
mport2004@gmail.com
17ed3899c4 Fixed the map/code issues that the body bags caused.
/obj/effects is now /obj/effect.
/obj/station_objects is now /obj/structure.
Did a bit of minor blob work. 
The Bay 12 body bags were replaced with closets because having two sets of code that do almost the same thing is silly.
Changed back a few of the last jobproc edits as the remove from list before assign was a check to see if the mob was fucked up and if it was remove it so we did not check it again as it would still be fucked up.
The medbay/tox monkeys names are random once more.  More random name monkeys will help with changeling and clean up the observe/mob menus.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2324 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 10:28:57 +00:00
baloh.matevz
e8c6b08419 - Object tree grouped a bit more.
Two new categories were made: station_objects and effects. station_objects, which I'm sure someone will want renamed to 'structures' contains the objects which don't need process() or power code.

Effects contains objects which are either landmarks, triggers, spawners or decal.

Screenshot:
http://www.kamletos.si/new%20object%20tree.PNG

I didn't notice any bugs, but with a revision editing 276 files of byond code, you never know.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2323 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 06:54:28 +00:00
bbusse@gmail.com
a65a26bdb3 moar atmo runtimes
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2303 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 05:46:55 +00:00
mport2004@gmail.com
378848bfac Runtime fix for atmos and one last jobedit
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2292 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 07:10:36 +00:00
bbusse@gmail.com
32804d2a7f Runtime fix for portable pumps IIN SPAACE
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2287 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 01:53:20 +00:00
bbusse@gmail.com
357174b67f Fix to prevent ghost fire
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2274 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 20:36:00 +00:00
bbusse@gmail.com
5e540cc037 Atmo tweak
Use air.compare() to trigger turf delays

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2270 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 14:47:36 +00:00
bbusse@gmail.com
fd9ad9376c Atmo: triggered tiles have a short period of mandatory high processing to avoid switching off too early.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2269 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 07:08:24 +00:00
bbusse@gmail.com
eba53b1287 First commit, time to break the station.
Atmo fixes here, should help lag a bit.  Turfs and air groups start skipping processing ticks if they haven't been doing anything lately.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2264 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 19:03:07 +00:00
mport2004@gmail.com
b13ecf6254 Added Derp's jump_to_dead_group proc.
Uncommented out the warn verb.
Derelict areas consolidated a bit to remove some of the APCs.
Cut around 30 air groups including 3 that would go inactive shortly after round start.
Prison station started as a simple pipe remap because the pipes were so messy in there and ended with an overhaul.
Altogether the pstation is slightly smaller.  
Observation room replaced with more windows and a few space tiles to make people actually have to work to break out without tools.
Most of the interior R-walls replaced with normal walls.
Pstation shuttle width increased by 1 tile granting 3 more tiles to stand in.
Vending machine placed inside the prisoner room so they can eat if needed.
Cells interior doors removed to cut down on the number of vents needed,  if you want to lock them in just shut the firelock and weld that.
Pstation solars shrunk slightly and don't fully block access to the back of the pstation.
It likely still needs a few tweaks and I might redo the pipes again later.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2254 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 09:41:06 +00:00
mport2004@gmail.com
c972c33d76 Stun batons will no longer randomly stun people when they bump/are bumped by a guy holding one.
Bit of blob mode work.
Added a Blob Core sprite by Scottzar


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2247 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 04:27:33 +00:00
mport2004@gmail.com
c471fde2f9 Fixed cyborg rev heads counting as living and still being able to flash people.
Normal revs that get borged will be unrev'd.
Added a cooldown to the captains message system.
Cleaned up the Coms computer slightly.
Fixed a few runtimes.
More blob work.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2207 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-16 05:52:10 +00:00
mport2004@gmail.com
c612827472 Singularity absorption explosion range lowered and is now dependent on singularity size.
BoH is no longer an instakill on a singularity, the chance the singularity will die from bombs now 25% from 10%.
Finished removing Metabslow from the game because delaying Interface rebuilds is a bad idea.
Sadly THE SUN is gone due to lighting lag issues, the current mob max luminosity is set to 7.
Damage and stun from doors shocking people has been lowered.
process() is now an obj level proc as it was already used by several procs and they can now jump onto the ticker if needed. 


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2199 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-14 07:24:19 +00:00
panurgomatic
15a5ecdd06 - Moved passability flags from atom/var/flags to atom/var/pass_flags.
Currently there are three - PASSTABLE, PASSGLASS and PASSGRILLE. PASSTABLE - same as TABLEPASS, PASSGRILLE - can this atom pass through grilles and PASSGLASS - can this atom pass through windows, glass doors, etc. Most can_pass() procs were updated.
Added checkpass atom proc to check if this atom has certain pass_flag set.
- Added proc/sanitize_simple() and proc/strip_html_simple(). sanitize_simple does not html_encode the string and strip_html_simple does not sanitize it. Additionally, sanitize_simple and sanitize can take associative list of key-val chars as second argument, where key is char to searh for and val is replacement.
- Added datum/gas_mixture/proc/return_volume() and datum/gas_mixture/proc/return_temperature().
- Added proc/tg_text2list() and proc/tg_list2text(). tg_list2text is slower then dd_list2text, but processes associative lists differently (it adds not the keys, but associated values). tg_text2list is somewhat faster then dd_text2list.
- Added proc/listclearnulls(), proc/difflist(), proc/intersectlist() and proc/uniquemergelist(). Check the code comments for more info.
- Mechs can hold 3 equipment pieces. Gygax can hold 4.
- Tweaked global_iterator CRASH report.
- Fixed mech pilot ejection if mecha was destroyed.
- Fixed mech fabricator process() waiting for sync() to finish.
- Fixed mech fabricator Topic() waiting for process_queue() to finish.
- Some bugixes related to global map and random sectors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1722 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-24 23:30:27 +00:00
panurgomatic
526703b24c - Fixed "division by 0" error in gas mixture return_pressure()
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1676 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-09 23:57:30 +00:00
baloh.matevz
8e112f64f4 Grass floor is coded. Not present in the game yet tho.
URIST, make it growable in hydroponics. Thx, love ya.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1585 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-14 22:17:59 +00:00
rastaf.zero@gmail.com
ad6a6e42aa Penlight fits in medical belt.
Fixed several runtime errors.
Monkeys and aliens won't stack dozens of blood stains.
Fixed crash in FEA code related to melting floors.
When screwdrived destructive analyzer unlink from RD console protolate instead of itself.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1443 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-14 03:52:09 +00:00
baloh.matevz
0c87c323ee DangerCon Update:
- Fire will now melt through floors when it reaches a certain temperature.

Technical info:
- Floors have a heat capacity of 10000 degrees, once a fire gets hotter than that, it will set the turf's 'to_be_destroyed' variable to 1. It also updates a variable which shows how much fire-induced temperature a turf has had to sustain. Once the fire burns up, it will check if the turf's (loc's) to_be_destroyed variable is not 0, if it is it will calculate the chance for it getting destroyed (foruma in hotspot's del proc) and either replace it with space or not, depending on the probability result.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1405 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-07 09:33:37 +00:00
n3ophyt3@gmail.com
cc51d5eeb1 Stack of runtime error fixes.
Didn't feel like digging into the DNA code to find the cause of one of the errors I got sent, if anyone feels like taking a crack at it:

runtime error: list index out of bounds
proc name: updateappearance (/proc/updateappearance)
  source file: dna.dm,257
  usr: Walter Bishop (/mob/living/carbon/human)
  src: null
  call stack:
updateappearance(Walter Bishop (/mob/living/carbon/human), "0FF0000660FF000066DC0000000000...")
Walter Bishop (/mob/living/carbon/human): Transform()

What I know: He was a changeling transforming between DNAs, apparently he somehow got a set of hair DNA that was literally off the charts for determining what hairstyle it was

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@781 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-05 02:12:37 +00:00