Commit Graph

97 Commits

Author SHA1 Message Date
Firecage d2bd6871d5 Merge Conflict Fix 2016-01-20 14:07:14 +02:00
xxalpha 8a669c93db Changed aimodule code to use laws datum instead of AI mob. 2016-01-18 03:08:41 +00:00
Firecage 332bde0f4f Does the rest of the if()'s/ else's 2016-01-17 19:03:12 +02:00
KorPhaeron d25c62fd53 Fixes AI lawsync 2016-01-01 17:28:52 -06:00
Razharas 356ec745c1 Merge pull request #13787 from Chnkr/revert-13643-Robocop
Revert "changes robocop law priority"
2015-12-30 00:44:36 +03:00
Kyle Spier-Swenson 671388ca2b freeform law boards are now easier to use
I default the input to 15, and ask them if they want to set it to 15 if they enter in an invalid number, rather than silently return
2015-12-23 03:47:03 -08:00
Pieter Vlasblom a50c5aac6f Revert "changes robocop law priority" 2015-12-19 00:50:51 +01:00
CPTANT 20c6659c4a changes robocop law priority 2015-12-14 17:28:36 +01:00
Cheridan 1d2b60b227 Typo fix 2015-10-22 11:20:48 -05:00
Cheridan b246835ed0 I like this path name better 2015-10-22 11:19:44 -05:00
Cheridan 5527b20a11 Upgrades SS13 to Fifth Edition 2015-10-22 11:15:46 -05:00
bear1ake c52c4a5346 Merge remote-tracking branch 'tgstation/master' into point-zero
Conflicts:
	code/modules/research/protolathe.dm
2015-09-12 21:07:40 +09:00
bear1ake f697ae90f5 removes a bunch of .0 2015-09-10 20:57:30 +09:00
bgobandit 084965803a Circuit boards now give glass, not gold. Adds materials to AI modules and coins. 2015-08-31 09:37:44 -04:00
Ikarrus bc5eac33a8 Needs a check here to let reset and purge be used. 2015-07-20 09:02:46 -06:00
Ikarrus ec3677da2d Fixes Reset and Purge having "This is a bug." law on examine
No reason to have this string as far as I can tell.
2015-07-19 23:20:04 -06:00
Ikarrus bcbd4da656 Merge branch 'master' of https://github.com/tgstation/-tg-station into lizardmov
Resolved Conflicts:
	code/game/objects/items/weapons/AI_modules.dm
2015-07-16 20:10:20 -06:00
Firecage 4688c2c969 Fixes proc arguments 2015-07-15 23:52:35 +02:00
Ikarrus d1175653dd - Reverts Map and Lizardmov changes
- Asimov's subject can now be modified from "human beings"
- You can examine AI modules to check their laws
2015-07-15 08:36:32 -06:00
Ikarrus c713797566 Makes it easier to check freeform boards by adding a cancel button to inputs. 2015-07-14 23:12:40 -06:00
Ikarrus ef548f6f67 Adds Lizardmov AI Module 2015-07-14 22:35:05 -06:00
Jordie0608 4fd2c24ca5 zeroth laws can be removed with core boards 2015-05-28 19:38:06 +10:00
kingofkosmos 1d14471d00 Ellipses to waiting messages. Warning-spanclasses to failing messages with an exclamation mark. 2015-04-24 20:50:50 +03:00
AnturK 7cccf20fc0 Adds total law changes counter 2015-03-19 14:57:12 +01:00
tkdrg 6194c0b90f Fixes the new AI lawcap config option
Previously, it would include null entries in some of the lists, which
meant that the total law amount would be grossly exaggerated.

Fixes #5846
2014-12-02 18:27:06 -03:00
hornygranny 62003a8ab8 Merge pull request #5700 from RemieRichards/SiliconLawCap
Adds a config option to cap silicon laws. [NEW CONFIG OPTION]
2014-11-08 15:22:09 -08:00
Remie Richards d1e0ef943c Changes messages to be more appropriate for last commit + more fluffy. 2014-11-05 23:31:51 +00:00
Remie Richards 198b9fee93 Extends the check to include the number of potential laws, from the current aiModule (eg, total_laws (10) + potential laws on board (4) = 14, 14 > 12) 2014-11-05 23:07:24 +00:00
Remie Richards 177225598b Adds a config option for capping the amount of laws silicons can receive via boards, defaults to 12 2014-11-05 22:25:46 +00:00
Menshin 26f70fd9aa * Completed the _strip_html_properly_ proc to also limit the length of the text
* Removed uses of _strip_html_simple_
* Replaced input or redondant trimming/text_copying with the new unified _stripped_input_
2014-10-15 16:00:22 +02:00
Miauw 80a093643c Removes confusion because players cannot understand my genius. 2014-06-20 14:55:04 +02:00
Cheridan 5aa17924b3 Fixes Robocop board not working 2014-05-27 15:59:10 -05:00
Miauw a80dd4df0f Merge branch 'master' of https://github.com/tgstation/-tg-station into warnstandardization
Conflicts:
	code/game/objects/items/weapons/AI_modules.dm
2014-03-22 17:42:07 +01:00
MrPerson 6930283efc Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/gamemodes/changeling/changeling_mutations.dm
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/gamemodes/malfunction/Malf_Modules.dm
	code/game/objects/items/weapons/tanks/watertank.dm
	code/game/objects/structures/tables_racks.dm
	code/modules/research/server.dm
2014-03-21 03:05:39 -07:00
Rockdtben a034e41f25 Removing TLE comment stamps and useless comments 2014-03-13 08:25:28 -05:00
Miauw 8c172733a8 Standardizes and expands the warning() and error() procs. 2014-03-09 18:08:19 +01:00
Fleure 4914ee6dc4 Fixed typo in Tyrant AI lawset 2014-03-06 17:18:57 +00:00
MrPerson 9eee3e5067 First pass at a qdel() garbage collection system for tgstation
Works pretty well. If it can't GC something, it'll just del() it and be done.
Speed is amazing, holy shit.

New procs you should be aware of:
qdel(atom/movable) - sets up an object for garbage collection. Call this rather than del(atom/movable).
atom/movable/Destroy() - called right before the object is GC'd, so it still has a loc. Also called if the object is del()'d.
new controller - garbage.dm has all the details on this. Basically it nulls all references on GC'd objects and force del() them if necessary.
Generally speaking, objects should use Destroy() for behavior prior to deletion rather than Del(). You should also always call the parent so the object gets the right gc_destroyed var set.

ISSUES:
Tries to GC mobs atm. This actually works for new players, not so much for humans/monkies/simple_animals/anything. I'm guessing it needs to clear out their mind and HUD and maybe other things.
Gibbing is really bugged. It works, but the overlays just sit there for awhile and ugh. I'm very tempted just to del() mob/living and mob/camera and call it a day.
qdel() equipment doesn't unequip the item.
Pipes don't generally GC correctly. Debugging suggests they get referenced in many pipenets and that isn't cleared properly. However some do work fine. Need assistance here.
Bots don't GC, probably in the radio controller.
Lots of other shit doesn't GC but it's hard to find them because of the pipe spam.
I think I'm calling Destroy() twice by accident.
2014-02-23 14:55:12 -08:00
Hornygranny 2134add41b Items with throw_range over 7 reduced to throw_range 7. This does not affect players as there's no way to extend your vision range. 2014-02-17 15:44:07 -08:00
hornygranny e0d0cedf36 passed over everything with throwforce 2014-02-13 18:06:50 -08:00
Miauw 67e37bd449 Merge branch 'master' of https://github.com/tgstation/-tg-station into dalawisfluid
Conflicts:
	code/game/objects/items/weapons/AI_modules.dm
	code/modules/research/designs.dm
	maps/tgstation.2.1.2.dmm
2014-01-07 18:18:59 +01: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
Miauw 758ca4f81c Added a failsafe, default_laws is now a config option. 2013-12-23 13:10:04 +01:00
Miauw 76f9881a42 Cleaning up of AI law datums, adds Custom AI board to the map. 2013-12-21 17:49:50 +01:00
Miauw 61eb26c663 Finalized AI module refactoring. Everything works now. 2013-12-20 19:39:46 +01:00
Miauw 83b96f0c54 Changes Antimov over to the new AI law system and changes it's path on the map. Various fixes to the new system. 2013-12-20 19:09:39 +01:00
Miauw aa655092c5 Major changes & copypasta removal in AI module code.
This won't affect gameplay.
(Untested & map won't compile, I want to have the map in a seperate commit)
2013-12-20 17:10:47 +01:00
Robson Richards 89349c0102 Add's IntigAsimov lawset as 'Asimov++' 2013-12-19 20:05:39 +00:00
Miauw 2988b2b698 Changes Corporate to Kaze's popular Corporate2. 2013-12-19 17:39:25 +01:00
Kyrah Abattoir d9fc4bdd5c code/game/object/items/weapons/* lowercase pass
code/game/object/structure/* lowercase pass (start)
2013-11-24 08:49:34 +01:00