Commit Graph

68 Commits

Author SHA1 Message Date
DamianX
f5c96279c6 Removed datum pooling (#26992)
* removed pooling

* replace returnToPool with qdel

* did stuff
2020-07-03 19:38:38 -03:00
jknpj
f6aae72618 Tool Sound/Speed (#25529)
* Initial work on tool sounds

* Crowbars

* playtoolsound()

* aaaaaaaaaaaaaaaaaaaa

* HERE WE GO AGAIN

* Wrench

* Screwdriver.ogg REDUX, Cuffs

* drilling tools toolspeed is now a multiplier too

* Wirecutter
2020-02-08 09:07:00 -06:00
jknpj
c455c9d4ea Merge pull request #24586 from Shadowmech88/MoreServersFix
Adds Code for Derelict R&D Server and Derelict R&D Console
2019-10-27 09:23:56 -03:00
Shadowmech88
5cbaf72050 Adds Derelict versions of the R&D console and R&D server so it doesn't have to use duplicates of the station ones. 2019-10-25 18:32:41 -05:00
Exxion
4d7a2df990 Renamed Clamp() to clamp() 2019-10-25 17:18:20 -04:00
Paul Ritter
fba040db42 changed can_be_used_as_screwdriver to is_screwdriver cause we are to lazy to type 2019-04-13 23:22:12 +02:00
Paul Ritter
87358975b1 the remaining changes. forgot how to used smartgit there for a sec oops. 2019-04-13 20:54:21 +02:00
MadmanMartian
599712325c Properly fixes the fabricator problem (#20587)
* Properly fixes the fabricator problem

 - Moves research's tech level stuff to a list by reference. Reference being the ID. All this so you don't need to loop through EVERY.FREAKING.RESEARCH.OBJECT to find the one you want.
 - Actually fixes the issue where syncing research and updating the internal components were using different math.

* switch those two out
2018-11-07 15:37:52 +01:00
ChooChuChu
355c4cbe84 Fixes double you grammar errors (#20285) 2018-10-18 05:03:20 +02:00
Exxion
793555b2fd Fixes all those bugs but with 100% fewer NEW bugs (#18333)
* Fixes scanners properly this time

* Just some code cleanup

* Fixes HE pipes being fast

* Fixes a bug that, for once, was not my fault

* Bugs both my fault and otherwise

* Why didn't I just do this in the first place?

* Turns out I wasn't the one who did the last one

* Simplification

* This was just completely incorrect

* Just style, which should have been included in the last commit

* Use new proc

* Simplification. This is still fucked up by the way

* And fixes a bug with freezers. This behavior is still fucked up though

* Woah fuck I nearly missed this. Freezers no longer have the volume of an entire zone.

* This should really be based on partial pressure, but that's a problem for another day

* There was never a reason to remove the air since thermal energy change is scale-invariant, dummy

* I THINK this is as correct as it's going to get without a rewrite

* Reading this hurt me

* Forgot this one, long ago

* Fuck lifecode

* Various stuff

* Removing the air is still unnecessary

* Fixes these not updating the zones, but these should really adjust thermal energy rather than absolute temperature

* Fixes these to update and use pressure

* This one gets special mention for breaking any existing sleeping agent in the area

* Whoops. I really need to standardize this.

* For fuck's sake

* I was going to make it adjust the environment temperature directly but looking at the code hurt my skull

* Not really deserving of its own commit but R-UST is next

* Existence is pain

* Fixes compile errors and a trillion runtimes
The gas_mixture procs should probably never return null, but oh well

* You're solving for the wrong n

* Don't explode tanks
2018-05-22 14:44:08 -03:00
ShiftyRail
b02d1ea5f2 Revert "Fixes almost all the bugs that I should have fixed six months ago" (#18330)
* Revert "[ci skip] Automatic changelog update."

This reverts commit c4eaaeb372.

* Revert "Fixes almost all the bugs that I should have fixed six months ago (#18323)"

This reverts commit e7c24c311c.
2018-05-22 12:25:53 +02:00
Exxion
e7c24c311c Fixes almost all the bugs that I should have fixed six months ago (#18323)
* Fixes scanners properly this time

* Just some code cleanup

* Fixes HE pipes being fast

* Fixes a bug that, for once, was not my fault

* Bugs both my fault and otherwise

* Why didn't I just do this in the first place?

* Turns out I wasn't the one who did the last one

* Simplification

* This was just completely incorrect

* Just style, which should have been included in the last commit

* Use new proc

* Simplification. This is still fucked up by the way

* And fixes a bug with freezers. This behavior is still fucked up though

* Woah fuck I nearly missed this. Freezers no longer have the volume of an entire zone.

* This should really be based on partial pressure, but that's a problem for another day

* There was never a reason to remove the air since thermal energy change is scale-invariant, dummy

* I THINK this is as correct as it's going to get without a rewrite

* Reading this hurt me

* Forgot this one, long ago

* Fuck lifecode

* Various stuff

* Removing the air is still unnecessary

* Fixes these not updating the zones, but these should really adjust thermal energy rather than absolute temperature

* Fixes these to update and use pressure

* This one gets special mention for breaking any existing sleeping agent in the area

* Whoops. I really need to standardize this.

* For fuck's sake

* I was going to make it adjust the environment temperature directly but looking at the code hurt my skull

* Not really deserving of its own commit but R-UST is next

* Existence is pain

* Fixes compile errors and a trillion runtimes
The gas_mixture procs should probably never return null, but oh well

* You're solving for the wrong n
2018-05-22 06:39:19 -03:00
DamianX
b1f910d179 Fixed R&D server turning invisible when screwdriver'd (#18256) 2018-05-10 08:44:31 -03:00
DamianX
4a38ac9169 Remove get_turf from all playsound calls (#17640)
JUST. DO. IT.
2018-03-02 11:18:53 -03:00
Pathid
f36295aecd Updates R&D Server icon path to the correct file (#16343) 2017-10-28 00:55:00 +02:00
ComicIronic
b35eaa65d8 Replaced loc setting with forceMove. (#11490)
* Replaced loc setting with forceMove.

* Update forceMove to permit moving to null loc.

Also fixed atom locking with offsets not following properly.
2016-08-29 06:40:45 -05:00
ComicIronic
d490e1f970 Removed one line ifs and elses. (#11389) 2016-08-15 05:36:21 -05:00
Sood
31ac9f6a5b 510 + btime mostly removed + screen overlays overhaul + Paradise sched improvements 2016-04-26 15:34:31 -07:00
unid15
f3ff0f65c1 Replace tool istypes() with macros 2016-03-13 18:39:44 +01:00
PJB3005
2d4e0080a3 Removes the autofix messages. 2016-01-21 19:34:04 +01:00
PJB3005
1a2f9ab059 All the EOLs are now LF.
Fuck you too 0D :^)
2016-01-16 23:28:07 +01:00
Sood
3cdf89b675 qdel replacing del, time for bugs 2015-12-06 15:11:15 -08:00
PJB3005
99bf59d80e Adds a to_chat() proc, to pave the way to a non shit chat. 2015-11-25 15:55:15 +01:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
PJB3005
3bc5d86263 LIGHTING IS BACK.
AND A SHITLOAD FASTER.

SANIC.
2015-07-21 14:16:27 +02:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
7a3ff4efc3 THE LIGHTING IS DEAD, LONG LIVE DAL 2015-07-18 23:05:18 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
clusterfack
09e9dcdc05 Purges Ninja and its snowflake/badcode
Removes basically any and all active references to the ninjacode. A fresh slate if we were to port ninja code from someone now.
2015-07-03 13:05:40 -05:00
dylanstrategie
8f1132f443 Forcefully deprecate meteor_hit()
meteor_hit() is a textbook example of snowflake. What you have here is a
proc linked to a single entity (the small meteor) which shouldn't even
have it (ever since I reworked meteors, small meteors explode) that is
present in FIFTY. FUCKING. FILES.

Since an explosion more than clearly does the damage we want done on
meteor impact, it is more than logical to remove it and lighten our code
of obsolete and obscuranting procs

For the handful of times where it isn't possible to straight up remove
it (immovable rod, dust, small meteor), the code was quickly patched by
making it fire ex_act(2), given that small meteors perform
explosion(src.loc, -1, 1, 3, 4, 0)

Doing it quick and dirty because otherwise it's going to cause conflicts
everywhere
2015-06-29 16:16:03 +02:00
D3athrow
6f8f1ff08f 110% plagiarism 2015-06-13 20:18:43 -05:00
PJB3005
ae7ab25539 BAY LIGHTING PEOPLE 2015-06-06 22:15:21 +02:00
D3athrow
9c21244617 REVERT GAS DATUMS UNTIL COMIC FIXES THE PERFORMANCE ISSUES: PLEASE WORK ON THE GASDATUMS BRANCH https://github.com/d3athrow/vgstation13/tree/gasdatums in the mean time. 2015-05-10 22:55:46 -05:00
ComicIronic
1d0c272f4a Fixes as many instances of not using set_volume, set_temperature, and the proper adjust_gas args as I could find. 2015-05-09 18:46:58 +01:00
ComicIronic
c1a58dc3c3 Gas math stripping
Removed update_values(). RIP, shine on you CPU diamond.
Removed get_moles_by_id and get_archived_moles_by_id, all moles are now accessed directly to reduce call cost.
Added set_temperature and set_volume procs which recalc pressure when temperature or pressure change.
Heat_capacity is now a var updated when gases update.
Modified adjust_gas to use set_gas, modified set_gas to alter heat_capacity, total_moles, and pressure as needed.
2015-05-09 18:43:24 +01:00
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
Exxion
f8de8e2ef1 Fix my last change so it actually works... probably
Well THERE'S your problem
2015-02-24 18:38:32 -05:00
eswordthecat
9131429301 https://github.com/tgstation/-tg-station/pull/655 2014-12-28 08:13:48 +08:00
ComicIronic
3d6d399731 Added MoMMI and Mechanic consoles to roundstart download list.
Issue was preventing people without server access from activating the download feature on these consoles.
2014-11-17 07:10:50 +00:00
ComicIronic
ecebcd3be0 Updated minor errors in code. 2014-10-05 21:56:35 +01:00
ComicIronic
6f82edccc9 Rewrite of machine code
- The most common attackbys now use a common proc and a flag system
- The following flags now exist : EMAGGABLE, SCREWTOGGLE, CROWDESTROY, WRENCHMOVE, FIXED2WORK
- Machines have had flags appropriately added with inherited procs to replace copied code
2014-09-20 22:55:36 +01:00
Rob Nelson
02f01cce88 Revert "Spacepod construction OVERHAUL" 2014-08-14 19:50:10 -07:00
ComicIronic
163f77f7e0 Major changes to spacepod construction:
- Pod frames are now built out of frame parts, not machine frames
- Added a Spacepod fabricator, capable of making frame parts, cells, pod cores, and pod armor ( to be added in greater variety )
- Pod frames are now completed with fabricated plates ( to allow for multiple types ) made in the fabricator
- Added Spacepod Hangar R&D console
- Improved options for R&D server
*Minor map changes: Added cable coil and glass to spacepod hangar. Replaced plasteel with just plasma. Added in fabricator and R&D console.
*Future plans: Make the spacepod construction properly reversible, add in more plating types from research, make emagging the fabricator create syndicate armor
2014-08-13 13:51:45 +01:00
dylanstrategie
4dd76b3ab8 Updating computer luminescence
- Less shit that glows the wrong color or glows when it shouldn't
- More shit that glows when it should
- Any machine that brightens up when stuff goes in (cloner, cryo, DNA
modifier) now only fucking glows when stuff is in
- It still glows in full day light, but whatever
2014-08-10 19:08:14 +02:00
ComicIronic
874128c82b -Fixed Exosuit Fabricators not updating with new designs
-Fixed formatting issue with comment being printed in server computer
-Fixed minor error to Phazon construction (unimportant)
2014-07-30 23:48:50 +01:00
ESwordTheCat
208e39fc4a Use byond newlist. 2014-07-05 01:34:39 -08:00
Rob Nelson
b3e3329707 Get rid of CMTL calcs, and optimize server temperature shit. 2014-04-15 21:29:07 -07:00
ESwordTheCat
b80885a24f Okay shards converted to pool usage now. 2014-04-07 10:59:32 +08:00
Rob Nelson
097559eef9 GC fixes. 2014-02-16 12:37:06 -08:00
d3athrow
eaa0b4e0ae Fix making sounds in an area 2014-01-15 18:52:30 -06:00