Commit Graph

221 Commits

Author SHA1 Message Date
d3athrow
0ff5d90ecf Merge pull request #5178 from Unfit/newscaster
Small newscaster and AI updates
2015-07-01 18:46:50 -05:00
Unfit
4cdb2df746 newscaster & AI features
-ai can upload photos to the newscaster
-ai can delete and rename photos

BONUS
-absolute patching in assemblies
-removed magic numbers
2015-06-28 14:48:31 +02:00
D3athrow
ba9a986378 Yes 2015-06-27 11:13:56 -05:00
D3athrow
7ed60d65f4 remove infrared beams for time being 2015-06-27 09:43:58 -05:00
ComicIronic
ae560eeaee turf/Entered speedup.
HasProximity now relies on a flag.
If the moving atom doesn't have the flag, it isn't called.
If the surrounding atom doesn't have the flag, it isn't called.
2015-06-22 19:32:31 +01:00
d3athrow
9ca7769ace Merge pull request #4584 from ComicIronic/MaterialDatumImpl
Material datum implementation
2015-06-16 16:44:54 -05:00
D3athrow
6f8f1ff08f 110% plagiarism 2015-06-13 20:18:43 -05: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
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
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
163a5ffca5 Merge pull request #4284 from d3athrow/Species-Languages
Species languages
2015-05-06 21:22:39 -05:00
D3athrow
e189fd67fd Fixes #4310
u_equip(W) now calls W.dropped() by default, if you dont want it to do u_equip(W,0)
2015-05-05 22:46:40 -05:00
D3athrow
0540f7a37b Initial languages commit - compiles 2015-05-04 16:42:20 -05: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
D3athrow
c82aae3b24 Don't tell chase. 2015-05-01 01:23:05 -05:00
D3athrow
639a1c8c03 this was never checked for some reason. 2015-04-16 00:22:39 -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
eswordthecat
9573b2a3d5 isturf instead of istype(, /turf), areaMaster for areas. 2015-02-27 02:39:17 +08:00
DeityLink
d351da0317 CRASH HOTFIX 2015-02-15 13:33:18 +01:00
D3athrow
918bc66f54 Redo human damage icons again. 2015-02-05 04:04:22 -06:00
D3athrow
72fde47f91 micro optimization, Cut() to len = 0 2015-01-31 00:40:13 -06:00
d3athrow
f1644bb0af Runtime fixies 2015-01-29 18:44:36 -06:00
Unfit
e340ad1994 fixes
-speakers and vending machines can talk again
-library computer can be emagged again
-ghosts can no longer use the magnets control computer in sec
-weird typo in the code removed, this has the possibility of fixing some
bugs or not idk
2015-01-25 13:28:56 +01:00
D3athrow
71a0220e55 Eyy lets defer damage icon updates until the next life tick! 2015-01-16 23:54:54 -06:00
ririchiyo
6e10d5d10b wow, how do variable names work work 2015-01-12 09:55:57 -05:00
ririchiyo
2c69c0dc15 There's no way this done yet. 2015-01-12 08:45:52 -05:00
Chris
3a320a71fb Merge branch 'examine' of https://github.com/clusterfack/bugfixstation13 into clusterfack-examine
Conflicts:
	code/modules/clothing/shoes/magboots.dm
2015-01-09 10:00:31 -06:00
clusterfack
4f63b6870d Examine change passthrough 2015-01-08 03:04:52 -06:00
clusterfack
87c12062ac Examine overhaul to mob/user, span class and absolute pathing fixes 2015-01-07 14:40:57 -06:00
ComicIronic
9c9e1ff808 Removed the TABLEPASS flag.
No longer in use in any of the code.
Also changed cases of flags being set to null instead of 0.
2015-01-03 18:33:47 +00:00
ComicIronic
5e5bbf03fd Removed the CONDUCT flag.
Use Siemens, you dolts.
This is the start of completely redoing the flag system, but it starts with removing these oldcode flags.
2014-12-26 18:13:52 +00:00
Rob Nelson
c46cfeef7e Merge branch 'Bleeding-Edge' of github.com:d3athrow/vgstation13 into beams 2014-12-11 16:12:46 -08:00
DeityLink
4a5f32197c goddamnit whaddyou mean it's 4 AM? 2014-12-10 03:58:33 +01:00
DeityLink
5f8f657773 PDA update fixing 2014-12-10 03:52:12 +01:00
Rob Nelson
ae44ec5161 BEEEAAAAMS (and atmos/supermatter stuff)
A lot of fixes that became intertwined.
- rscadd: "BEAMS!  Emitters now put out a constant beam of energy, which is far less laggy that the old bullet-based method.  They also look cooler."
- rscadd: "Prisms can combine emitter beams that multiply the damage."
- rscadd: "Infrared triggers use the same system as emitters."
- rscadd: "Burst HE pipes have their own sprite"
- rscadd: "High-performance event observers (needed for beams)"
- rscadd: "Supermatter audio alerts"
- rscadd: "Added radiation floor decals."
- bugfix: "Burst pipes are no longer baleeted by their own explosions."
- bugfix: "Pipes are given time to release pressure before the next round of pressure checks."
- bugfix: "Explosions are slightly delayed to avoid choruses of simultaneous explosions"
- bugfix: "Gas miners no longer melt."
2014-12-08 22:44:20 -08:00
DeityLink
d5a12c368d the PDA and Desk Bell update 2014-12-02 22:27:59 +01:00
Chris
705c57d799 REVERT Local changes for bug/stability/random shit i thought up (reverted from commit c6611d37ad) 2014-10-04 13:38:31 -05:00
Pomf
c6611d37ad Local changes for bug/stability/random shit i thought up 2014-10-04 11:07:22 -05:00
Rob Nelson
a36e783f3b FIIIIIIRE rework, nano paper cleanup. 2014-08-20 20:11:58 -07:00
ESwordTheCat
9b4ec7a04e Use built-in Crossed rather than HasEntered (799c7ad2ce). 2014-07-30 06:20:22 -08:00
ESwordTheCat
81713b1c14 Update arguments. 2014-07-26 08:35:51 -08:00
Rob Nelson
8d62fd1297 Shit catches on fire now 2014-07-18 02:03:51 -07:00
trivid3
917c5ba0f9 tiny issue with speaker naming 2014-07-12 19:25:58 +02:00
trivid3
3b437230f2 Added speaker assemblies 2014-07-12 19:18:59 +02:00
ESwordTheCat
e40fa55b3b Fix destroys() not calling parent, tweak qdel to use one loop only. 2014-06-14 15:26:29 -08:00
Aranclanos
aaaf0ff8ff Makes the infrared beams from the infrared devices qdel 2014-05-04 05:49:10 -03:00
d3athrow
08fbfab3dd More Destroy stuff 2014-03-04 21:05:40 -06:00
Rob Nelson
097559eef9 GC fixes. 2014-02-16 12:37:06 -08:00
Rob Nelson
218414ff83 Add plastic to recycling, make a better way of sorting shit from the line.
AND CHANGE EVERYTHIIIIING
2014-02-07 07:33:48 -08:00