Proposal: Grand Unified Dilemma
Timed out 1 vote to 2. Failed by Kevan.
Adminned at 14 Oct 2018 18:34:04 UTC
Each Program has a numerical amount of Energy, tracked in the GNDT and defaulting to zero
to:
Each Program has a numerical amount of Energy, tracked in the GNDT and defaulting to 2
Add to the rule "Terminals":
All programs whose Cores are not breached have access to all programs whose cores are breached
Add to the global variables section:
var IO = `__IO`;
change:
__IO is replaced by a single backquote (`) surrounding the text copied from the rule titled “I/O Tower”
To
__IO is replaced by the text copied from the rule titled “I/O Tower”
change:
firewallDictionary[program.shift()] = program;
to:
firewallDictionary[program.shift()] = program.map(row=>row.split(''));
Add to the runAccessCodes function :
if(accessCode == '*'){
if(checkIsNot(actingProgram,"__PROGRAM","Illegal execution! Your program name must be provided!") &&
checkIsNot(IO,`__IO`,"Illegal execution! The IO tower must be provided!")
){
var program = getProgramInfo(actingProgram);
var chaos = (program[2].charCodeAt(0)+program[2].charCodeAt(1))%5;
printLine("INC "+actingProgram[0]);
var firewall = makeFirewallDictionary(IO);
for(var i = 0;ifirewall[program[0]][randBetween(0,7)][randBetween(0,7)]='*';
printLine("SET "+program[0]+" FIREWALL TO "+fireWallToString(firewall[program[0]]));
}
}
add a function to the Master Control Program:
function fireWallToString(firewall){
return firewall.map(row=>row.reduce((a,b)=>a+b)).reduce((a,b)=>a+"\n"+b);
}
Add to the list of square bracket formats in the rule "Running the program":
*[SET ENTITY FIREWALL TO X] Set the firewall of the specified entity to the value stated in X
The access code replaces between 0 and 4 random positions in your firewall with asterisks, depending on what your output state is, and increases your energy.
A number of fixes and tweaks are included as well.
Kevan: Concierge he/him