Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1017836 // ai_storeActualFact - return true on change

JavaX fragment (include)

sbool ai_storeActualFact(S fact) {
  ret !contains(mL("Random facts"), fact) && mech_changed(addToMechList("Derived facts", fact));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017836
Snippet name: ai_storeActualFact - return true on change
Eternal ID of this version: #1017836/4
Text MD5: e3957b44b37e0531212552f0036d9894
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-16 14:53:47
Source code size: 137 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 246 / 278
Version history: 3 change(s)
Referenced in: [show references]