Initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
|||||||
|
NAME "HNN Farm"
|
||||||
|
|
||||||
|
EVERY 20 TICKS DO
|
||||||
|
-- Grab Prediction Matrix and put them in the simulators
|
||||||
|
INPUT "hostilenetworks:prediction_matrix" FROM drawer
|
||||||
|
OUTPUT RETAIN 5 TO EACH simulation SLOTS 1
|
||||||
|
FORGET
|
||||||
|
END
|
||||||
|
|
||||||
|
EVERY 100 TICKS DO
|
||||||
|
-- Move Specialized Prodictions to their respective loot fabs
|
||||||
|
INPUT "hostilenetworks:prediction" FROM sim1 SLOTS 3
|
||||||
|
OUTPUT TO lootfab1 SLOTS 0
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
INPUT "hostilenetworks:prediction" FROM sim2 SLOTS 3
|
||||||
|
OUTPUT TO lootfab2 SLOTS 0
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
INPUT "hostilenetworks:prediction" FROM sim3 SLOTS 3
|
||||||
|
OUTPUT TO lootfab3 SLOTS 0
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
INPUT "hostilenetworks:prediction" FROM sim4 SLOTS 3
|
||||||
|
OUTPUT TO lootfab4 SLOTS 0
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
INPUT "hostilenetworks:prediction" FROM sim5 SLOTS 3
|
||||||
|
OUTPUT TO lootfab5 SLOTS 0
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
-- Empty the Generalized predictions into the net
|
||||||
|
INPUT FROM EACH simulation SLOTS 2
|
||||||
|
OUTPUT TO net_out
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
-- Grab the loot from the Loot Fabs
|
||||||
|
INPUT FROM EACH lootfab SLOTS 1-16
|
||||||
|
OUTPUT TO net_out
|
||||||
|
END
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
NAME "Exp Candy Combiner"
|
||||||
|
|
||||||
|
EVERY 20 TICKS DO
|
||||||
|
-- on their own, input statements do nothing
|
||||||
|
-- there is no item buffer
|
||||||
|
INPUT "Cobblemon:exp_candy_xs" FROM candy_barrel
|
||||||
|
|
||||||
|
-- XS -> S
|
||||||
|
OUTPUT RETAIN 1 TO xs_pot SLOTS 1
|
||||||
|
OUTPUT RETAIN 1 TO xs_pot SLOTS 2
|
||||||
|
OUTPUT RETAIN 1 TO xs_pot SLOTS 3
|
||||||
|
OUTPUT RETAIN 1 TO xs_pot SLOTS 4
|
||||||
|
OUTPUT RETAIN 1 TO xs_pot SLOTS 5
|
||||||
|
OUTPUT RETAIN 1 TO xs_pot SLOTS 6
|
||||||
|
FORGET
|
||||||
|
-- S -> M
|
||||||
|
INPUT "Cobblemon:exp_candy_s" FROM candy_barrel
|
||||||
|
OUTPUT RETAIN 1 TO s_pot SLOTS 1
|
||||||
|
OUTPUT RETAIN 1 TO s_pot SLOTS 2
|
||||||
|
OUTPUT RETAIN 1 TO s_pot SLOTS 3
|
||||||
|
FORGET
|
||||||
|
-- M -> L
|
||||||
|
INPUT "Cobblemon:exp_candy_m" FROM candy_barrel
|
||||||
|
OUTPUT RETAIN 1 TO m_pot SLOTS 1
|
||||||
|
OUTPUT RETAIN 1 TO m_pot SLOTS 2
|
||||||
|
OUTPUT RETAIN 1 TO m_pot SLOTS 3
|
||||||
|
FORGET
|
||||||
|
-- L -> XL
|
||||||
|
INPUT "Cobblemon:exp_candy_l" FROM candy_barrel
|
||||||
|
OUTPUT RETAIN 1 TO l_pot SLOTS 1
|
||||||
|
OUTPUT RETAIN 1 TO l_pot SLOTS 2
|
||||||
|
OUTPUT RETAIN 1 TO l_pot SLOTS 3
|
||||||
|
FORGET
|
||||||
|
-- Grab all the candy and put it in the barrel
|
||||||
|
INPUT FROM pot BOTTOM SIDE
|
||||||
|
OUTPUT TO candy_barrel
|
||||||
|
FORGET
|
||||||
|
|
||||||
|
END
|
||||||
Reference in New Issue
Block a user