Commit Graph

74 Commits

Author SHA1 Message Date
DrSnips
cd20e774f8 Filled out the ammolathe's list with actual stuff. Added a sprite for the ammolathe. Added a phazon sheet overlay for fabs. Made designs for the items in the ammolathe's list. Added a var for fabs to use a default sheet insert overlay(s) set. 2019-01-04 01:37:09 -05:00
ShiftyRail
3ecb9793c9 Fixes duplicating RnD machines (#20245)
* Fixes duplicating RnD machines

* Whoops
2018-10-18 17:50:25 +02:00
MadmanMartian
6d78711e9b shocking now passes the siemens coefficient of whatever you're hitting the thing with. (#18012)
* shocking now passes the siemens coefficient of whatever you're hitting the thing with.

* adds macro, uses macro, macro is happy
2018-04-08 10:11:09 -03:00
MadmanMartian
5b1ac5880f Adds functionality to the two previously useless autolathe/protolathe wires (#17875)
* pulsing a certain wire on RnD machines makes them automatically fabricate what they last made.

* Fixes check oversight in fabricator, adds the fifth wire being a signal sending wire.
2018-03-24 16:59:36 -04:00
Intigracy
8dd8cc6a47 fixes being able to brick the protolathe/autolathe for the round (#17175)
adds missing adjacency check for inserting materials

fixes the stupidity of the busy var, now it only changes when the mats are actually being inserted, instead of when you slap the machine with them
it now also lasts exactly as long as the animation does/would (currently 1 second) aka no more bricking unless byond is bricking

added a second check after the input() on whether or not the bin is full since people will be able to have input()s open at the same time now
2018-01-23 11:31:21 +01:00
jknpj
91c39eb6e5 sanityisgood (#16451) 2017-11-05 13:24:17 +01:00
ComicIronic
d490e1f970 Removed one line ifs and elses. (#11389) 2016-08-15 05:36:21 -05:00
ComicIronic
53040e7e83 Moves string overlays to use images. (#10686)
* Moves string overlays to use images.

* Fixed overlays being missed in replace due to unexpected string characters.
2016-06-20 17:27:24 -05:00
clusterfack
fe2a1a3a08 Migrating Code to use Proper Byond Move() Code (#8667)
* Initial Commit

All CanPass replaced with cross, all CheckExit replaced with uncross

* Commit #2

Cross() argment turf/target now has a standard value of src.loc, the basis for this is the fact that Cross() should technically only be called with a default value by Move() code when moving to a new turf thus everything on it the target turf should be the src.loc

* Commit #3

All move code has now been unhacked, all of it is functional except for border objects which still retain none of their original functionality

* Commit #2

Cross() argment turf/target now has a standard value of src.loc, the basis for this is the fact that Cross() should technically only be called with a default value by Move() code when moving to a new turf thus everything on it the target turf should be the src.loc

* Commit #2

Cross() argment turf/target now has a standard value of src.loc, the basis for this is the fact that Cross() should technically only be called with a default value by Move() code when moving to a new turf thus everything on it the target turf should be the src.loc (reverted from commit fdee8c8b687a4d1f305bdc5f5e1a59ebeacb4702)

* Fuck me

* Okay Redo

* Hello, I am finished
2016-05-02 08:34:42 -07:00
PJB3005
1a2f9ab059 All the EOLs are now LF.
Fuck you too 0D :^)
2016-01-16 23:28:07 +01:00
9600bauds
6fcf5c6125 Fixes Autolathe not eating reinforced glass 2015-12-17 03:26:06 -03: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
DeityLink
0121542ed4 wrenchmoves 2015-10-28 02:24:50 +01:00
Kurfursten
e432ca0abc Wires and wire holders 2015-10-12 02:09:56 -05:00
Rob Nelson
f984750814 Merge pull request #5911 from PJB3005/dylan-and-his-'fixes'
Fixes #5893 in a non shit way.
2015-09-30 16:56:32 -07:00
PJB3005
d03dfa12f2 there because dylan is closing his I'll get his string fixes. 2015-10-01 00:03:15 +02:00
Rob Nelson
6b2664a8b9 Merge pull request #5829 from PJB3005/datum-qdel
Allows qdel to delete datums & unify pooling.
2015-09-28 11:20:58 -07:00
PJB3005
c7c9613b07 Unifies pooling. 2015-09-26 16:27:27 +02:00
PJB3005
180330a578 Fixes #5086, fixes #5822.
R&D machineres now use the var "output_dir" to determine where to output to.
2015-09-24 19:21:02 +02:00
DeityLink
5a3f466228 mist spread tweaks 2015-09-18 19:40:22 +02:00
PJB3005
ef279b0393 Fixes some R&D related qdel issues.
Note: the console itself still hard dels it appears, can't figure out why, but in the mean time this fixes qdel for R&D machinery linked to the console, and fixes #10
2015-08-17 02:12:31 +00:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
PJB3005
12410d8dc8 Should fix the autolathe eating stacks if you specify 0 as amount. 2015-07-16 19:48:00 +02: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
ComicIronic
dfd55472d5 Fixes ore redemption machine, recycler overabundance, and multitool eating. 2015-06-18 15:46:58 +01:00
ComicIronic
06b5e60bbe Material datum implementation
Material datum functionality changed to mimic that of reagents etc. by
using a global datum list and an assoc value list.
Material datums added at the atom level.
starting_materials var added - on New(), the materials in the list are
added to a datum. An empty list generates an empty datum, a null means no
datum.
m_amt, g_amt, and where applicable gold_amt, etc. completely removed,
replaced with starting_materials where applicable.

Fabricators
Fixed a bug with fabricators taking design cost, not shown cost.
Fixed a bug with fabricators taking costs before a design was shown
completable.
Fabricators now transfer the materials they use in the design to the atom
produced's material datum.
Designs are now world-consistent : scanning the same atom will ref the
same design, and scanning an atom with a design will fetch it.
Mechanic fabs now add plastic cost on top of the design, not to it.
Mechanic designs no longer require random extra materials.
Mechanic designs are now material-specific, not type-specific.
Mechanic blueprint uses have been removed, in favour of a consumable
system.
RnD wires moved to the datum system.
Autolathe moved under fabricators. It preserves as much functionality as
possible.
Framework added for plastic costs on mechanic fabs to be toggled, and for
removal of designs to be toggled also.
2015-06-13 16:13:02 +01:00
D3athrow
6bc2912c93 cocks 2015-05-28 18:39:15 -05:00
D3athrow
ba6848c4e9 fix protolathes spitting shit out into nullspace 2015-05-27 01:51:57 -05:00
ComicIronic
d9c69d52df Taxi fixes:
MoMMI nest now has double windoors and sulphuric acid.
Miners and xenoarch now start with tank dispensers.
HoP office expanded, charger placed on wall, accounts DB now accessible.
Engineering given more toolbelts.
Atmos large tanks fixed to start with proper gases in them.
Solar computers given correct wiring.
Captain's office now connected to grid, and contains antique laser display case.
Bhangmeter added to toxins.
Renamed Break Room airlock and removed sink.
Added desk bells where appropriate.
Extended Custodial closet by 1 tile.
Fixes #4625, fixes #4623, fixes #4624, fixes #4614, fixes some of #4629.
Fixes #4632, miners now have proper access around the station.
2015-05-24 14:06:55 +01:00
9600bauds
df6251ad0a materialscreen 2015-05-21 01:59:36 -03:00
9600bauds
d1fef60be9 aaaaaaaaaaaa 2015-05-21 01:25:24 -03:00
9600bauds
6a1991a889 No runtimes no more 2015-05-21 00:47:55 -03:00
ComicIronic
45dec45789 Materials in RnD
In going over our code to prepare a port for Bay, I noticed we weren't using the material datums properly.
Now we are.
There are no functional frontend changes from this.
allowed_materials is now a list of ids instead of types, however.
2015-05-20 16:20:09 +01:00
9600bauds
d57de29755 Protolathe sorting & other wonderful things 2015-05-18 01:25:34 -03:00
Kurfursten
8d32cb53b9 Added sanity check 2015-05-03 19:11:15 -05:00
D3athrow
f008d26ef7 I'm a dumb 2015-04-28 23:47:36 -05:00
D3athrow
3305046a27 Prevent material duping with RD machinery due to pooling. 2015-04-28 18:26:40 -05:00
D3athrow
868f41c7c9 Fix the lag issue from building/syncing an RD console in a large area with a lot of things in it.
Before:
/obj/machinery/computer/rdconsole/proc/SyncRDevices 12.58 12.61 12.60

After:
/obj/machinery/computer/rdconsole/proc/SyncRDevices 0.001 0.001 0.001
2015-04-16 01:00:49 -05:00
D3athrow
f8ab04280c remove delay on adding materials to the fab 2015-04-11 00:00:25 -05:00
D3athrow
6956a3c4df Should fix the issue of nano windows popping back up after closing them. 2015-02-21 15:47:40 -06:00
D3athrow
72fde47f91 micro optimization, Cut() to len = 0 2015-01-31 00:40:13 -06:00
ririchiyo
2857e57ac2 Merge pull request #1869 from ComicIronic/BoardLock
Adds certain silicon boards to lockboxes
2015-01-17 18:28:19 -05:00
ComicIronic
58b1575c34 Mechanic fixing.
PDA device analysers now work as expected.
Groundwork for fabricators ignoring design requirements, which general fabricators now do for chems.
Item designs based on existing designs now properly generate a plastic requirement.
Sped up the flatpacker a little to balance its costs.
2014-12-16 10:02:32 +00:00
ComicIronic
2253f93f23 Fix merge conflicts. 2014-11-30 12:33:44 +00:00
ComicIronic
4cd07a07f0 Adjusted material generation values. Plastic is now fixed at ~10% of total cost.
Moved some procs relating to designs from rdmachines to designs.dm
2014-11-14 17:58:53 +00:00
ComicIronic
04d45bfbc5 WIP: Changing the balance designs of mechanic. 2014-11-13 23:30:15 +00:00
ComicIronic
9dd7db045a Actually made the edited code work. 2014-11-12 23:10:33 +00:00
ComicIronic
8b70eaf6a9 Merge and update. 2014-11-09 16:27:21 +00:00