Skip to content

Commit f9624c0

Browse files
committed
Finished scripts
Fixes db0#495
1 parent 24dfc98 commit f9624c0

File tree

6 files changed

+29
-18
lines changed

6 files changed

+29
-18
lines changed

changelog.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Changelog - Android:Netrunner LCG OCTGN Game Definition
1010
* Executive Boot Camp: TurnStart Rez is manual use
1111
* Lycan: Not scripted. Track manually.
1212
* Snatch and Grab: Trace effects not automated, only announces.
13-
*
13+
* Lela Patel: Manual Use
14+
* Zona Sul Shipping: doesn't trash automatically on tag
1415

1516

1617
### 3.14.1.x

o8g/Scripts/CardScripts.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -4537,57 +4537,57 @@
45374537
-----
45384538
bc0f047c-01b1-427f-a439-d451eda06094
45394539
-----
4540-
4540+
onInstall:Put4Power
45414541
+++++
4542-
4542+
A0B0G0T0:Remove1Power-isCost$$SimplyAnnounce{break up to 2 sentry subroutines}||A0B1G0T0:Put1PlusOne
45434543
.....
45444544
Leela Patel
45454545
-----
45464546
bc0f047c-01b1-427f-a439-d451eda06095
45474547
-----
45484548
45494549
+++++
4550-
4550+
A0B0G0T0:UninstallTarget-Targeted-targetOpponents-isUnrezzed-onlyOnce
45514551
.....
45524552
Cerberus "Rex" H2
45534553
-----
45544554
bc0f047c-01b1-427f-a439-d451eda06096
45554555
-----
4556-
4556+
onInstall:Put4Power
45574557
+++++
4558-
4558+
A0B0G0T0:Remove1Power-isCost$$SimplyAnnounce{break up to 2 code gate subroutines}||A0B1G0T0:Put1PlusOne
45594559
.....
45604560
Zona Sul Shipping
45614561
-----
45624562
bc0f047c-01b1-427f-a439-d451eda06097
45634563
-----
4564-
4564+
atTurnStart:Put1Credits
45654565
+++++
4566-
4566+
A1B0G0T0:Transfer999Credits
45674567
.....
45684568
Cybsoft MacroDrive
45694569
-----
45704570
bc0f047c-01b1-427f-a439-d451eda06098
45714571
-----
4572-
4572+
onInstall:Put1Credits-isSilent||atTurnPreStart:Refill1Credits-duringMyTurn||whileRezzed:Reduce#CostInstall-affectsProgram-forMe
45734573
+++++
45744574
45754575
.....
45764576
Cerberus "Lady" H1
45774577
-----
45784578
bc0f047c-01b1-427f-a439-d451eda06099
45794579
-----
4580-
4580+
onInstall:Put4Power
45814581
+++++
4582-
4582+
A0B0G0T0:Remove1Power-isCost$$SimplyAnnounce{break up to 2 barrier subroutines}||A0B1G0T0:Put1PlusOne
45834583
.....
45844584
Utopia Shard
45854585
-----
45864586
bc0f047c-01b1-427f-a439-d451eda06100
45874587
-----
4588-
4588+
onDragDrop:IgnoreCosts-isSourceShard
45894589
+++++
4590-
4590+
A0B0G0T0:CustomScript
45914591
.....
45924592
ENDSCRIPTS
45934593
=====

o8g/Scripts/actions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2279,10 +2279,11 @@ def handDiscard(card, scripted = False):
22792279
goToEndTurn(table, 0, 0)
22802280
else: notify("{} discards a card.".format(me))
22812281

2282-
def handRandomDiscard(group, count = None, player = None, destination = None, silent = False):
2282+
def handRandomDiscard(group = None, count = None, player = None, destination = None, silent = False):
22832283
debugNotify(">>> handRandomDiscard(){}".format(extraASDebug())) #Debug
22842284
mute()
22852285
if not player: player = me
2286+
if not group: group = me.hand
22862287
if not destination:
22872288
if ds == "runner": destination = player.piles['Heap/Archives(Face-up)']
22882289
else: destination = player.piles['Archives(Hidden)']

o8g/Scripts/customscripts.py

+9
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,15 @@ def CustomScript(card, action = 'PLAY', origin_card = None, original_action = No
11911191
elif folds == 3:
11921192
me.counters['Hand Size'].value -= 5
11931193
notify(":> {}'s perfect folds are ruined! Their hand size decreases by 5.".format(me))
1194+
elif fetchProperty(card, 'name') == 'Bifrost Array' and action == 'SCORE':
1195+
targetAgenda = findTarget('DemiAutoTargeted-atAgenda_and_notBifrost Array-isScored-choose1')
1196+
if len(targetAgenda) and confirm("Do you want to use the optional ability of Bifrost Array?"):
1197+
notify('{} triggers the "when scored" ability of {}'.format(me,targetAgenda[0]))
1198+
executePlayScripts(targetAgenda[0],'SCORE')
1199+
elif fetchProperty(card, 'name') == 'Utopia Shard' and action == 'USE':
1200+
remoteCall(fetchCorpPL(),'handRandomDiscard',[me.hand,2])
1201+
intTrashCard(card, fetchProperty(card,'Stat'), "free", silent = True)
1202+
notify("{} activates the {} to force {} to discard 2 cards at random".format(me,card,fetchCorpPL()))
11941203
elif action == 'USE': useCard(card)
11951204

11961205

o8g/Sets/All That Remains/set.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
<property name="Stat" value="0" />
224224
<property name="Rules" value="Place 4 power counters on Cerberus &quot;Cuj.0&quot; H3 when it is installed.&#xD;&#xA;Hosted power counter: Break up to 2 sentry subroutines.&#xD;&#xA;1[Credits]: +1 strength." />
225225
<property name="Flavor" value="&quot;He only likes to eat live meat.&quot; -MaxX" />
226-
<property name="Instructions" value="" />
226+
<property name="Instructions" value="Hosted power counter: Break up to 2 sentry subroutines.||1 [Credits]: +1 strength." />
227227
<property name="Faction" value="Anarch" />
228228
<property name="Influence" value="3" />
229229
<property name="Side" value="runner" />
@@ -255,7 +255,7 @@
255255
<property name="Stat" value="1" />
256256
<property name="Rules" value="Place 4 power counters on Cerberus &quot;Rex&quot; H2 when it is installed.&#xD;&#xA;Hosted power counter: Break up to 2 code gate subroutines.&#xD;&#xA;1[Credits]: +1 strength." />
257257
<property name="Flavor" value="&quot;Useful for fetching all sorts of things…but you better have a treat ready if he likes it.&quot; -Iain Stirling" />
258-
<property name="Instructions" value="" />
258+
<property name="Instructions" value="Hosted power counter: Break up to 2 code gate subroutines.||1 [Credits]: +1 strength." />
259259
<property name="Faction" value="Criminal" />
260260
<property name="Influence" value="3" />
261261
<property name="Side" value="runner" />
@@ -303,7 +303,7 @@
303303
<property name="Stat" value="3" />
304304
<property name="Rules" value="Place 4 power counters on Cerberus &quot;Lady&quot; H1 when it is installed.&#xD;&#xA;Hosted power counter: Break up to 2 barrier subroutines.&#xD;&#xA;1[Credits]: +1 strength." />
305305
<property name="Flavor" value="&quot;Its bytes are definitely worse than its bark.&quot; -Chaos Theory" />
306-
<property name="Instructions" value="" />
306+
<property name="Instructions" value="Hosted power counter: Break up to 2 barrier subroutines.||1 [Credits]: +1 strength." />
307307
<property name="Faction" value="Shaper" />
308308
<property name="Influence" value="3" />
309309
<property name="Side" value="runner" />

o8g/definition.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
44
name="Android-Netrunner"
55
id="0f38e453-26df-4c04-9d67-6d43de939c77"
6-
version="3.14.1.2"
6+
version="3.15.0.0"
77
octgnVersion="3.1.127.0"
88
markersize="20"
99
tags="asymmetric cyberpunk LCG bluff duel"

0 commit comments

Comments
 (0)