Commit Graph

425 Commits

Author SHA1 Message Date
fleure
e8573cc416 Merge pull request #2373 from RobRichards1997/14/01/2014-Bug-Fixes
Robotic Repair Missing fixes [Fixes #2326]
2014-01-24 11:17:54 -08:00
Robson Richards
1ff14a5fcf Adds item_heal_robotic() - a way for items to trigger robotic limb heal procs without copy-paste 2014-01-21 07:38:46 +00:00
fleure
ad49512b4e Merge pull request #2440 from Petethegoat/suicideformat
Updated all suicide_act()s to use a new span class, 'suicide'.
2014-01-20 11:11:23 -08:00
Alek2ander
9fa38637ad Logs everywhere
Explosion game log now has epicenter coords
Powersink placement and explosion notifications
C4 notifications and logs
Logging singulo munchies and death
All SMES interactions now logged, because any of them can mess stuff up
Telesci logs what was teleported
2014-01-19 21:16:30 +04:00
Pete Goodfellow
af4849ce72 Updated all suicide_act()s to use a new span class, 'suicide'. 2014-01-19 16:46:37 +00:00
Robson Richards
86eae3a376 Moves some use()'s so that they always execute the message near them. 2014-01-15 17:19:49 +00:00
Robson Richards
4dabdc67e2 Fixes #2326
- Moves Robotic repair stuff to the two item's respected attack()'s
- Removed them from the human_defense.dm
2014-01-15 16:46:47 +00:00
Aranclanos
8a56589e3e Merge pull request #2292 from sirbayer/srsbsns-determinism
Remove RNG from armor
2014-01-14 05:01:24 -08:00
Rockdtben
d3f2befb54 Merge pull request #2293 from Faerdan/master
NanoUI Update
2014-01-11 13:42:32 -08:00
Giacomand
f1e7637bab Disabled the game using set background by making all instances of it use a define, which can be changed in code/_compile_options.dm
Testing has revealed that it reduces the sluggishness of the game, though it will spike from lag when the singularity is loose. Thanks to ChuckTheSheep for suggesting it.

Server owners who want to keep set background enabled can do so by changing the define.
2014-01-10 18:32:28 +00:00
Mark Aherne (Faerdan)
53b2d2e928 NanoUI Update
* Refactored the code used in the ui_interact procs to be neater and easy to understand (also less code duplication). Updated all existing ui_interact procs to match.
* Rebuilt (and simplified) template rendering system, removed data-linking (the use of carets "^" in templates) and the need to send the full data structure every update (just send whatever you want now, it's fully dynamic). Updated all existing templates to match.
* Restructured HTML and JavaScript to increase compatibility with IE (this fixes "blank uis" for many users).
* Increased the number of error messages to help diagnose issues.
* Multiple performance improvements, especially when updating an open ui.
* Added the ability to update a ui for an individual user (nanomanager update_user_uis proc, used for things like realtime messages in Bay's PDA).
* Added a "Loading..." notice to the UI. If this stays then your JavaScript isn't enabled.
* Removed redundant wip apc.tmpl file.
* Added a link to the online docs in TemplatesGuide.txt.
2014-01-09 01:02:13 +00:00
sirbayer
ef7e3258ae Rads finally work. War never changes. 2014-01-08 16:32:35 -08:00
Razharas
80b592d0b3 Resolving conflicts
God hates git
And so do i
2014-01-03 21:12:14 +04:00
Cheridan
bb9c09df46 Obsoletes flags = FPRINT | TABLEPASS*
*TABLEPASS was already totally obsolete.
FPRINT was used, but it was on virtually everything anyway.

Removes those flags from every instance where they were used. Also assigned and removed other flags where it made sense.

If it is desired, I can revive the flag as NOFPRINT, which would retain the original functionality, though inverted. That way it would be be used only  where it was intentional (holodeck items could use this for example).
2013-12-30 15:03:17 -06:00
Razharas
4f8389ec0e Constructable machines will depend on R&D parts
DNA scanner:
Laser quality lessens the irradiation
Manipulator quality drastically improves the precision(9 times with best
part)
Scanner quality allows to scan suiciders/ling husks, best part enables
cloner's autoprocess button, making it scan people in the scanner
automatically
Clone pod:
Manipulator quality improves the speed of cloning
Scanning module quality affects with how much health people will be
ejected, will they get negative mutation/no mutations/clean of all
mutations/random good mutation, at best quality will enable clone
console's autoprocess button and will try to clone all the dead people
in records automatically, together with best DNA scanner parts cloning
console will be able to work in full automatic regime autoscanning
people and autocloning them
Borg recharger:
Capacitors' quality and powercell max charge affect the speed at which
borgs recharge
Manipulator quality allows borg to be slowly repaired while inside the
recharges, best manipulator allows even fire damage to be slowly
repaired
Portable power generators:
Capacitors' quality produce more power
Better lasers consume less fuel and reduce heat production
PACMAN with best parts can keep whole station powered with about sheet
of plamsa per minute(approximately, wasnt potent enough to test)
Protolathe:
Manipulators quality affects the cost of things(they will also have less
m_amt and g_amt to prevent production of infinity metal), best
manipulators reduces the cost 5 times (!)
Imprinter:
Manipulator quality affects the cost, best manipulator reduce cost(acid
insluded) 4 times, i.e. 20 boards per 100 units of acid
Destructive analyzer:
Better parts allow items with less reliability in
Redone how reliability is handled, you now see item reliability in the
deconstruction menu and deconstructing items that has same or one point
less research type level will rise the reliability of all known designs
that has one or more research type requarements as the deconstructed
item
Designs of the same type raise in reliability more
Removed reliability_base and reliability_mod completely because they
served no purpose
Critically broken things rise reliability of the design drastically
Whole reliability system is not used a lot but now at least on the R&D
part it finally matters
Didnt touch telecomms machinery, R&D code is messy but tcomms is just
another level, im not high enough to touch it yet
Most of things except for pacman are tested ingame, no bugs/runtimes
detected
2013-12-23 21:39:27 +04:00
Aranclanos
53a02296df Merge pull request #1989 from Perakp/dnaDecon
DNA scanner and cloning pod deconstruction
2013-12-17 20:44:16 -08:00
KazeEspada
7513625c48 fixes a rare runtime that occurs when the turbine couldn't find a compressor. Brings the code up to current standards. Removes the view function from the computer. Its rather obsolete in the days of telescreens. 2013-12-15 17:38:23 -07:00
EuroNumbers
e9e9977249 Standarized the code further, added interact that doesn't shit the compiler 2013-12-15 19:23:54 +01:00
Perakp
5d1f63f924 <span> and cable use()
- Added more span tags
- using cable now uses use()
- fixed use() to correctly return 1 when it succeeds
- checked that there were no checks that would’ve been previously
borked. For testing purposes I renamed use to use_cable (‘use’ is kinda
bad for a proc name, but use_cable is hardly better), but left that out
of the commit because it would’ve inflated the pr.
2013-12-15 12:07:55 +02:00
EuroNumbers
279e84f12b Updates turbine.dm to bypass the 'code\modules\power\turbine.dm:234:error: interact: duplicate definition' 2013-12-14 20:16:25 +01:00
EuroNumbers
29d637240f Update turbine.dm
Replaced outdated code that wounded up there for no reason.
2013-12-09 01:25:10 +01:00
EuroNumbers
64c08c6482 Update turbine.dm
Made compatible with LINDA
2013-12-09 00:17:03 +01:00
EuroNumbers
372992ca36 Lowercased "gas turbine control computer" 2013-12-08 22:47:29 +01:00
EuroNumbers
c2a4de92cc Update turbine.dm
Turbine now works as intended in rev4407
Tweaked the power generation too to fit the increased demand
Still needs a better computer code
2013-12-08 21:33:25 +01:00
Perakp
ce9f29fb86 Applied logic to portable generator deconstruction. 2013-12-07 09:27:56 +02:00
Perakp
b8a7957a22 Adds deconstruction for DNA scanner and cloning pod.
Adding wires to a machine frame uses one unit of wire.
Wires returned from deconstructing return 1 unit of wire.
Fixes issue #1001
2013-12-07 08:55:07 +02:00
Rockdtben
9492f102b9 Merge pull request #1903 from YotaXP/Fix-Borg-APC-Access
Fixes Cyborg APC Access
2013-11-29 15:09:13 -08:00
Aranclanos
3fed8dd8f6 Merge branch 'Cybernetic-limbs' of https://github.com/RobRichards1997/-tg-station into Cybernetic-limbs
Conflicts:
	code/modules/mob/living/carbon/human/human_defense.dm
2013-11-26 22:03:26 -03:00
Giacom
a468abd766 Merge pull request #1812 from LaharlMontogmmery/Unanchored-AI
AI can now anchor/unanchor itself. Goes with Malf AI pinpointer tracking once it activates Delta for balance reasons. Please review/merge if satisfying enough.
2013-11-26 12:15:47 -08:00
YotaXP
d6b3b3a8bd Removes the redundant server side validation that restricted cyborg access to APCs.
Fixes the graphical bug that occurs when an AI mouses over the interface lock buttons.

Removes some remnants of the previous UI implementation.
2013-11-25 20:37:37 -05:00
Giacom
5322a6cb62 Merge pull request #1810 from Rockdtben/APCServerSideValidation
APC Serverside Validation
2013-11-21 11:51:15 -08:00
Laharl Montogmmery
c9649138e6 Add a check for Delta in the shunt tracking code.
This is to avoid the AI being tracked by the pinpointer before Delta is
triggered.
2013-11-20 23:07:36 +01:00
Aranclanos
5da1b56a53 Merge pull request #1712 from havocx42/ToPush
Update for power code to remove some bugs and fix some functionality
2013-11-20 00:06:50 -08:00
Laharl Montogmmery
ec8f753545 Delta : Pinpointer now points toward the AI.
Pinpointer now points in the malf AI direction (so it won't track
innocent AIs), and follow it through shunting, or if it goes back to its
core after shunting.

Bloody hell was it a pain to just test that.
2013-11-20 00:11:27 +01:00
Rockdtben
577daaedda Woops 2013-11-18 21:35:14 -06:00
Rockdtben
2097c8068b Removed useless parameter 2013-11-18 21:34:37 -06:00
Rockdtben
3c8426eb6f Corrected a mistake. 2013-11-18 21:30:50 -06:00
Robson Richards
e71ea3289e Merge branch 'master' of https://github.com/tgstation/-tg-station into 13/10/2013-Limb/organ-stuff
This probably broke everything... :(
2013-11-17 18:09:14 +00:00
Rockdtben
f2acf55c5c APC Serverside Validation 2013-11-17 10:20:53 -06:00
Kyrah Abattoir
560b50ec1b Reformatted the way objects and items structure their description text, added the little object "icon" everyone seems to be using.
Added superclass invoke for the arcane tome

Added superclass invoke to light switches, removed it's (unused) description.

FLightswitch description repetition derp

examine superclass invoke for gas flow meter, space heater, fire extinguishers, grenades/IEDs, fancy boxes and welder. Changed description for welder and fire extinguisher to show their content in a similar style.

Fixed tank, linen bins and janicart description, and added welder of previous commit (forgot to commit it)

REMOVED icon in mop_bucket description (now provided by item class).
REMOVED unused examine() override in clothing/gloves
REMOVED custom examine() for glass/rag
CHANGED using examine superclass on paperwork/paperbin, removed redundant description code
CHANGED examine superclass for power/apc
ADDED universal maxcharge readout for all the powercell types.
CHANGED using examine superclass on machinery/light, removed redundant description code

FIXED weapon/virusdish use a description field.
TWEAK lowercased some of the portable generators.

Fixed improperness of pacman names
2013-11-16 22:15:50 +01:00
Robson Richards
637c3f7f63 Fixes for @Aranclanos
Diseases now have a requires and a required_limb variable
if requires is 1 then it will run a check for required_limb (WHICH USES TYPEPATHS)

Reverts a turret change that git through into the pull for some reason

added some feedback messages in certain places

removed the hulk-like snowflake check that was really crappy anyways

Reworked a part of surgery/surgery_step.dm to use a switch
2013-11-16 18:13:41 +00:00
Cheridan
db0901db10 Merge pull request #1751 from Miauw62/imalazyass
Fixes missing !'s and inverted messages.
2013-11-11 18:48:37 -08:00
Miauw
0a18413fb6 Fixes missing !'s and inverted messages. 2013-11-10 21:42:32 +01:00
YotaXP
139d045b0c Implements NanoUI for APCs, and make a couple other tweaks to the NanoUI framework.
AI can also toggle the APC lock for human access.
2013-11-09 22:02:06 -05:00
Robson Richards
b2b6a9ff84 Fixes Chem healing and Chem damaging of Robotic limbs
Hey @Cheridan NO ISTYPES! :D
Ugh.. I mean "Removes" 10 totally unnecessary istypes
Fixes the healing of robotic limbs so that the message actually doesn't display now.

Credit to ACCount12 for digging around and finding some nifty code
that my brain never thought of
2013-11-10 01:55:40 +00:00
Miauw
3f8f3c971a Undoes changes to emitter.dm & field_generator.dm in my other commits, then applies bugfix. 2013-11-09 15:35:40 +01:00
Miauw
5ad9505ef4 [MAP]Fixed space-fastening properly.
Conflicts:
	code/modules/power/singularity/field_generator.dm
	maps/tgstation.2.1.2.dmm
(What is this I don't even)
2013-11-09 14:42:54 +01:00
Laurence Reading
4cb9f66164 making propagate_network non recursive 2013-11-08 00:09:30 +00:00
Laurence Reading
ce24949ace creating a get_marked_connections method for machines that doesnt check for powernet==null 2013-11-08 00:09:19 +00:00
Laurence Reading
e179e44b09 clarified a comment 2013-11-06 22:35:36 +00:00