Last active
September 15, 2023 09:34
-
-
Save laike9m/bbe3b4843b593ff2d3015a0cce2b270e to your computer and use it in GitHub Desktop.
Mili - sustain++; (ending ver.) / Ghost In The Shell: SAC_2045 Ending
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The goal of this program is to obtain a HEALTHY | |
* and SUSTAINABLE relationship, darling. | |
* | |
* @author Cassie Wei from Mili | |
*/ | |
public class sustainPlusPlus { | |
public static void main(String[] args) { | |
World world = new World(); | |
Life me = new Ghost(); | |
Life you = new Ghost(); | |
/** | |
* If abstraction is the definition of beauty | |
* Are those of us chasing after clarity | |
* A representation of ugly? | |
*/ | |
world.getObjects().sortByAttribute("beauty"); | |
if (world.getObjects().getFirst().getArtTags().indexOf("abstract") != -1) { | |
me.addPhysicalAttribute("ugly"); | |
you.addPhysicalAttribute("ugly"); | |
} | |
world.giveBestAward("ugly", me); | |
world.giveBestAward("ugly", you); | |
/** | |
* CALL ME MOMMY | |
* JUST LIKE YOUR FANTASY | |
* there is no crime in ideality | |
*/ | |
if (you.getFetishes().searchByType("name calling", "mommy") != -1) { | |
you.addToMemory(me); | |
you.setNicknameFor(you.getMemory(me), "mommy"); | |
} | |
Rule r = new Rule("Oedipus complex is okay", true); | |
world.addRule(r); | |
/** | |
* MUX>>>DEMUX | |
* Can't you understand me? | |
* I'm not mine NAND I'm not yours | |
* Ah | |
*/ | |
try { | |
you.decodeMessage(me.codeMessage("I'm not mine NAND I'm not yours", "mux"), "mux"); | |
} catch (InsufficientIntelligenceQuotientException e) { | |
world.sendMessage("Oh you dummy.", you); | |
me.announce("Ah"); | |
} | |
/** | |
* This can end right here if you don't let it out | |
* Let it out | |
*/ | |
if (you.getThoughts().size() != 0) { | |
try { | |
you.sayTo(you.getThoughts(), me); | |
you.clearThoughts(); | |
} catch (TooMuchOfAPussyException e) { | |
world.getRelationship(you, me).end(); | |
} | |
} | |
/** | |
* Give up or give me your all | |
* Tell me now | |
* Tell me now | |
*/ | |
if (you.getMemories(me).getLove() < 0.5) { | |
world.getRelationship(me, you).setSustain(0); | |
} else { | |
you.transferThoughts(me); | |
you.transferAttributes(me); | |
//sustain++; | |
world.getRelationship(me, you).increaseSustain(); | |
} | |
// TO BE CONTINUED | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cek it out https://github.com/alipbudiman/sustain-and-World.Execute-me-but-in-py3/blob/main/README.md