Commit Graph

25 Commits

Author SHA1 Message Date
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
D3athrow
72fde47f91 micro optimization, Cut() to len = 0 2015-01-31 00:40:13 -06:00
Rob Nelson
876e0e40b8 Cleanup blob mode notices.
Also add a missing script and clean up unused FEA shit
2013-09-10 17:51:12 -07:00
Rob Nelson
6d0c6411ac Committing today's attempt at getting ice and shit working. Everything else appears to be okay. 2013-08-31 05:43:17 -07:00
giacomand@gmail.com
015b19f800 - Added null checks for get_mobs_in_radio_range().
- Added a check to EI NATH for humans who are brainless.
- Fixed fires runtiming. When I replaced del(src) with a garbage collecting proc, I forgot to return afterwards so the rest of the code didn't execute.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5567 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-17 06:52:49 +00:00
baloh.matevz@gmail.com
5bb06b184c - Added a killswitch to the master controller for air processing and pipe processing, accessible through two toggle-verbs in debug verbs.
- Added a verb that breaks all airgroups into individually processing tiles and a verb that forces a group-rejoin attempt on all airgroups. Once the verb to break all air groups is used, they will not attempt to recreate until the recreate verb is used. In other words, this is for debugging, not goofing around. Verbs available in debug verbs.
- Some atmos code standardization
- Decreased the pressure resistance of most items by a factor of 10, meaning pressure will finally actually move items around!

I also attempted to speed up air movement, but it caused runtimes and everything moved in checkered patterns and I got scared so I didn't include it in this commit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5554 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-15 07:12:32 +00:00
rockdtben@gmail.com
169c96db1b Too remove potential excessive garbage collection per tick. We will be reusing lists for overlays instead of deleting and creating them.
the .Cut() proc on a list will empty a list by default. This also will set the len to 0.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5465 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-04 15:11:06 +00:00
giacomand@gmail.com
6a2d78bc94 -Killed the updateDialog lag. I added a check to see if there were any mobs to update, if not it will stop checking until a user uses the machine again. I had to replace all the machine = src and machine = null with procs to help make it manageable. I believe this is one of the culprits causing the server to lag as the round goes on, as more players will interact with machines.
-Atmos delay is now based on active players, to help fight lag for massive player rounds.

-Changed some for(blah in world) loops to use the correct lists.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4958 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-25 19:15:51 +00:00
giacomand@gmail.com
ddd8e94784 -Walls, firelocks and glass-less airlocks now stop heat.
-Fire made more deadly, as the flames will add more damage and a fire can spread more quickly.
-Fire can break windows now, meaning they can potentially extinguish themselves by opening a window to space.
-Increased the delay for atmos to process a cell and airgroup, will help with the lag for 50 player servers.
-Minor tweaks were made.
--Plasma needing a bit more before displaying its overlay.
--Pressure can now damage you at 550 kPA. This was because it wasn't viable to set the pumps to over-pressurize a room and potentially kill people.
--High pressure warning shows at 325.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4869 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-14 02:02:18 +00:00
giacomand@gmail.com
d6db93bd38 -Small improvement to atmos. Changed the "locate a space tile every time" to instead use a pre-located space tile. It'll stop the need to locate one everytime, but in the off-chance that the space tile isn't there anymore, it'll locate a new one.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4662 316c924e-a436-60f5-8080-3fe189b3f50e
2012-09-09 00:25:51 +00:00
sieve32@gmail.com
459c558898 -Make holodeck eswords a child of obj/item/weapon/holo instead of regular eswords, clumsy check removed as a result, and you can no longer do things like cutting through walls or doors or what have you. (Fixes Issue 665)
-Redid icons to be more optimized at compile by setting icon = 'icons/folder/icon.dmi' instead of just icon = 'icon.dmi', meaning that Dream Maker doesn't have to search through every single file for every single .dmi. This shouldn't lead to any errors because of how I went about it, plus the fact that Dream Maker would have freaked out if I screwed something up. Also moved around 2 icons that weren't sorted well.

r4146 compile time: 1 minute, 40 seconds
r4147 compile time: 45 seconds

[VGTG]

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4147 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 00:48:51 +00:00
baloh.matevz@gmail.com
c2c7a3bcda - Variable declaration standardization. Big commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3671 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 19:26:36 +00:00
mport2004@gmail.com
32e1640df3 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.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2851 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-29 07:14:02 +00: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
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
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
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
only.lurking
662c08272a git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2 316c924e-a436-60f5-8080-3fe189b3f50e 2010-08-23 14:29:20 +00:00