Commit Graph

1231 Commits

Author SHA1 Message Date
D3athrow
6f8f1ff08f 110% plagiarism 2015-06-13 20:18:43 -05:00
d3athrow
79d1579972 Merge pull request #4853 from ComicIronic/MachineryMoney
Machinery money changes
2015-06-06 22:12:38 -05:00
PJB3005
ae7ab25539 BAY LIGHTING PEOPLE 2015-06-06 22:15:21 +02:00
ComicIronic
51a37b1e48 Machinery money changes
A lot of code standardising for the way machines handle trying to take money from a user.
All machines can now be set to connect to the accounts database in initialize().
reconnect_database(), connect_account(), and scan_card() have all been moved to the machine level.
Merch computer now reads your equipped ID, not your mind account. Fixes #2854.
All machines getting your ID using get_id_card() now check all your slots, with hands being prioritised over the ID slot.
Removed a pointless human-only proc that was causing befuddlement.
2015-06-06 16:08:34 +01:00
ComicIronic
62f737535d General bugfixing.
I don't really get this if statement in policetape, but it should be fixed now maybe.
Added a proc for checking if two stacks can merge, used it on coloured cables. Fixes #4156.
Made the welding damage message list the item intensifying the damage. Fixes #4187.
Added Vox exclusion to RIG helmets, removed it from Wiz and Nukeops hardsuits. Fixes #4790, fixes #4756, fixes #4496.
Orebag now only gives borgs a message if it finds ore. Fixes #4150.
Throws something at #4267, hardcode is bad and everyone should feel bad.
2015-06-02 01:05:43 +01:00
gbasood
e3691ce35b I'm an idiot 2015-05-19 10:56:47 -07:00
gbasood
850e361110 Fixes fax noise. 2015-05-19 10:51:43 -07:00
d3athrow
209b638761 Merge pull request #4531 from clusterfack/hudsrshitnarsiedeletesthemhardcore
Gives HUD Element Pooling
2015-05-19 11:31:55 -05:00
d3athrow
d2da5ada9d Merge pull request #4502 from 9600bauds/ctrlf
Protolathe Filtering, Custom Protolate Queueing & Other Incredible CamelCase Tales
2015-05-19 11:30:49 -05:00
clusterfack
e6951594a7 Hud Element Pooling
Pools the obj/screen elements which are being so casually deleted all the damn time
2015-05-19 04:42:32 -05:00
9600bauds
d57de29755 Protolathe sorting & other wonderful things 2015-05-18 01:25:34 -03:00
clusterfack
5c1abfcbea Buildmode Click Optimization
BUILDMODE CLICK USED TO CALL IN WORLD EVERY CLICK.

Fun fact: just because you dont use the words "in world" doesn't mean you aren't LOOPING THROUGH THE WORLD EVERY TIME YOU CLICK ON ANYTHING IN BUILD MODE JESUS CHRIST.
2015-05-17 08:44:22 -05:00
D3athrow
ecc0b7e15e Buildmode middle click advanced mode to copy and left click to paste a lookalike. 2015-05-15 19:53:04 -05:00
d3athrow
ff8530d695 Merge pull request #4405 from clusterfack/IN_WORLD
IN WORLD
2015-05-12 03:20:19 -05:00
clusterfack
e053bd704c IN WORLD
Removes a bunch of in worlds from the code.
Deity please stop adding more it wounds me.
2015-05-12 02:13:48 -05:00
D3athrow
5796813948 FUCKING REVERSIONS 2015-05-11 20:02:13 -05: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
d3athrow
9f4a47b488 Merge pull request #4329 from d3athrow/GasMathsStrip
Gas maths stripping
2015-05-09 20:05:12 -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
Exxion
416acb3665 Spacepod tweaks 2015-05-08 10:04:39 -04:00
ComicIronic
4d432e5240 Gas Datums
Moved gas_mixture gas numbers to a list which is connected to a global gas_datum list, like with reagents.
Modified some maths procs to be more sane, added adjust_gas and set_gas to help with processing.
Added a modular system for gas flags - gases can now be marked as fuel and oxidiser with a flag, logged with a flag, scanned with a flag, etc.
Changed scrubbers to use a list of scrubbing gases rather than a set of vars.
Made miners and xenoarch effects more sensible - they now produce gas by ID, not manually.
Made turfs' starting gases into a list, removed turf gas number vars.
2015-05-04 10:36:04 +01:00
clusterfack
167f162a25 Fixes spacepod cell stat() bug
Fixes #3517, apparently the stat() for spacepod cells checked that the battery has an object of type cell within it. But since spacepods typecast their cell for specific initialization of a high power cell, the istype(S.battery) check fails if you placed a different type of cell into it. Causing it to instead display no cell detected.
2015-04-26 06:33:57 -05:00
D3athrow
43629cba0a some fax fixes 2015-04-24 13:45:45 -05:00
D3athrow
97def510da fix atm metal dupe 2015-04-23 00:00:48 -05:00
D3athrow
639a1c8c03 this was never checked for some reason. 2015-04-16 00:22:39 -05:00
d3athrow
da2e66aed5 Merge pull request #3837 from Kurfursten/wallcon
Con/Decon Part 1
2015-04-15 19:18:05 -05:00
D3athrow
9c2b08c24e even more 2015-04-14 21:11:54 -05: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
ComicIronic
d0e9eedd25 drop_item and click code.
drop_item now has a first arg, which is the item to drop.
Hand processing now uses drop_item properly, which fixes #3874, #3796.
Also fixes #3486.
2015-04-12 00:56:43 +01:00
Kurfursten
31ec1256cb This adds sounds to faxes to CentComm and Prayer. Different sounds. Also
it halves the fax time, because 3 minutes is just too long.
2015-04-08 12:49:36 -05:00
Kurfursten
46e0549341 Con/Decon Part 1 2015-04-08 12:43:26 -05:00
dylanstrategie
6b81232efe Window Fixes
- Fix full reinforced windows using the old description
- Add a new brokenup var for the window's Destroy() call.  Defaults to
0, if 1 then the window will shatter into shards and rods (the old
behavior caused any window deleting to shatter them)
- Changes to all files that called Destroy() on windows to use this new
behavior
2015-03-31 20:05:24 +02:00
D3athrow
5d9c06c880 aye papi fix TK not working properly on hardly any machine 2015-03-28 14:56:46 -05:00
d3athrow
51a7a87e02 Merge pull request #3551 from dylanstrategie/Window
Update window code
2015-03-28 12:18:21 -05:00
9600bauds
87ab7b51a3 yet for all my efforts, noone will even notice this was ever here 2015-03-27 23:30:41 -03:00
dylanstrategie
7f6e1e9815 Merge remote-tracking branch 'origin/Window' into Window 2015-03-25 04:24:52 +01:00
9600bauds
a28cdc7fa0 When you're right you're right 2015-03-24 23:52:19 -03:00
9600bauds
9901f9fd78 Fixes or adds many missing sanity checks 2015-03-24 23:52:18 -03:00
d3athrow
52f6f95914 Merge pull request #3434 from ComicIronic/StartingDesigns
Readds roundstart design lists to fabs.
2015-03-24 11:32:14 -05:00
dylanstrategie
27be630bea Update window code
That code was old and fucky, goddamn

- Span, formatting, newline, visible_message, yeah
- Separate sprites for window panes and full windows. Might need a bit
more refining still, but that's that
- Remove deprecated commented silicate code. If anyone ever wants to
include something akin to silicate, they would benefit from just
recoding it from scratch. An item that adds health and potentially
changes sprite color can't be that hard to make
- Reduce normal window health by 4 to 10. Why would you use plain
windows
- Remove stupid paths that caused shitty inheritance. window/basic and
window/full/basic were dumb as fucking shit and no longer exist (both
transferred to their respective tree parent, for whatever variables
needed transplating, so 2-3). All full window types under full/ all
reinforced window types under reinforced/, all in that order
- Add in more examine() information (construction state and health)
- Add in healthcheck() to replace destroy(), hit() and all that logging
and variable juggling bullshit in about every proc where the window can
be damaged
- ex_act(), blob_act(), meteorhit() now deplete health only and no
longer magically delete or Destroy() windows. Looks a bit ugly on ex_act
3 since reinforced windows can't be destroyed but grilles always are,
and plasma windows still don't block explosions even if they're now
almost bomb-proof, but that's progress
- Remove window damage on passive grab window "slam", massively increase
mob damage on neck/kill window slam (if you let yourself get grabbed
that far, you deserve to die)
- Change construction from that ugly variable juggling to a fancy and
functional switch() construction code. Include bitflags and
deconstruction safety
- All files that were modified outside of window.dm and fullwindow.dm
are compatibility fixes

Try as I might, I couldn't fix #3515. It appears to be fundamentally
fucked due to the way pushing objects (you enter the window's tile) and
pulling objects (you cannot reach the other side of the window, ever)
works. Maybe someone else will manage it
2015-03-23 13:47:48 +01:00
D3athrow
77a86bfd10 Fixes #3474 2015-03-19 17:12:26 -05:00
ComicIronic
30e97cafcb Readds roundstart design lists to fabs.
Now with 100% less server crashing, and 100% more feature preservation.
Phazon research should now be possible again.
2015-03-16 22:29:48 +00:00
D3athrow
1da7a0c38c Somehow missed some shit 2015-03-15 17:02:37 -05:00
D3athrow
571b235626 Exploit prevention, prevents non-AI silicons from manipulating machines on a different zlevel. 2015-03-15 16:58:41 -05:00
d3athrow
24b8c1b5db Merge pull request #3348 from ComicIronic/MechContRedo
Construction datum changes.
2015-03-11 16:44:14 -05:00
ComicIronic
34bab36581 Changes to drop_item.
The drop_item arg is now the loc placed, not the child of the loc or whatever.
Removed a few lines of items being placed into themselves, on themselves, into other things manually, into their users, etc.
Cleans up the fix for MoMMI recharger silliness.

This took about 2 hours of non-stop manual searches.
2015-03-08 21:37:34 +00:00
ComicIronic
8f42a1af6b Construction restructuring.
Absolute pathed construction.dm.
Fixed issues.
Changed the way reversible works, to give more flexibility.
2015-03-08 21:11:18 +00:00
d3athrow
7dcb18d7b0 Merge pull request #3302 from Exxion/podwep
Fix spacepod weapons
2015-03-07 14:33:17 -06:00
d3athrow
40a0c1f344 Merge pull request #3322 from clusterfack/doesanybodyactuallyreadthese
Fixes
2015-03-05 20:58:57 -06:00