Commit Graph

114 Commits

Author SHA1 Message Date
MrPerson
f4e768c895 Ion storm improvements (#24223)
* Ion storm improvements

Ion storms have several new additions:
25% chance to flatly replace the AI's core lawset with something random in the config. Suddenly the AI is Corporate, deal w/ it.
10% chance to delete one of the AI's core or supplied laws. Hope you treated the AI well without its precious law 1 to protect your sorry ass.
10% chance that, instead of adding a random law, it will instead replace one of the AI's existing core or supplied laws with the ion law. Otherwise, it adds the generated law as normal. There's still a 100% chance of getting a generated ion law.

All of these stack so you could wind up going from Asimov to Paladin w/o the first law and w/ the last law replaced with THE SHUTTLE CANNOT BE CALLED DUE TO FIVE NINJAS. All the values are easy to tweak if you guys want them higher or lower or whatever.

Custom admin-sent and other fake ion storms (devils) will just add the law and have no chance of doing any of the bonus stuff.

Removed the admin verb to send an ion storm since you can just use the events panel.

Cleaned up some of the law-adding backend. Hopefully there's no double showing of the AI's laws after a lawchange as a result of this.

* Everyday I'm shufflin'
2017-02-22 13:31:04 +01:00
oranges
f57b6c2f21 Merge pull request #23785 from coiax/guardian-of-balance
Adds 'Guardian of Balance' AI lawset
2017-02-08 18:26:30 +13:00
Jack Edge
515f5b69c2 Adds 'Guardian of Balance' AI lawset
🆑 coiax
add: Adds a 'Guardian of Balance' lawset and AI module, currently admin
spawn only.
/🆑

- Also refactors some of AI_modules.dm to use the /datum/ai_laws stuff
to avoid law duplication.
2017-02-06 18:20:54 +00:00
XDTM
eb5086a307 Misc law changes 2017-02-02 12:18:49 +01:00
AnturK
e6169e8d42 Minor AI fixes. (#23105)
* Fixes #20469

* Fixes #9062 again.

* Fixes #10283
Laws above 20 will replace laws of same or lower importance.
2017-01-26 19:40:45 -06:00
Mervill
09ea5ad2e5 w_class now uses defines 2016-12-01 21:33:14 -08:00
swindly
7330ad5778 bonus fixes 2016-11-02 20:08:19 -04:00
LatD
d89eb178c6 Merge remote-tracking branch 'refs/remotes/tgstation/master' into Research 2016-05-30 18:33:55 +03:00
xxalpha
0d608250fa Changed AI core programming so it functions like the AI Upload. (#18004) 2016-05-30 10:54:50 +12:00
LatD
67190cb762 Fixes things found in testing 2016-05-26 23:30:42 +03:00
LatD
6e6474ee9e Imprinter origin and req lvls 2016-05-22 23:46:05 +03:00
LatD
502249831d Syndicate origin tech changes 2016-05-18 20:12:01 +03:00
LatD
fe76e64641 Origin tech changes and some fixes 2016-05-17 20:57:01 +03:00
Cheridan
3a17928714 Merge pull request #16087 from Dorsisdwarf/AIlaws
Makes the new law boards core/full instead of core
2016-03-14 14:16:16 -05:00
Dorsisdwarf
589109115d Fixes a silly error 2016-03-13 12:03:17 +00:00
duncathan salt
e0d3ac1d28 Merge pull request #16050 from Dorsisdwarf/AIlaws
Adds a series of new laws and boards
2016-03-12 15:12:42 -06:00
Dorsisdwarf
eec22d0ca4 Adds a series of new laws and boards 2016-03-11 19:58:59 +00:00
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