TPT_PL's Lua mod

  • TPT_PL
    22nd Nov 2016 Member 1 Permalink

    FLUMP-BA-DEE-BUMP!

    Added MGNO (Magnesium oxide), major changes to MGNP and MAGN.

    @docRoboRobert (View Post)

     Happy?

  • docRoboRobert
    22nd Nov 2016 Member 0 Permalink

    Yes, that's very cool.

  • TPT_PL
    26th Nov 2016 Member 1 Permalink

    @docRoboRobert (View Post)

     Thanks, by the way, I just added...

     

    3H2O - Tritium oxide, extremely reactive with energy particles.

    Oh, well, "extremely reactive" means that replacing DEUT from a bomb with THIS will result with molten, self-fusionating dense burning mass, emiting superheated NEUT, ELEC, PROT and PHOT.

    Edited once by TPT_PL. Last: 26th Nov 2016
  • tptquantum
    27th Nov 2016 Member 0 Permalink

    DKEY: Key Detector. If a keyboard key is pressed IRL, then a SPRK signal will be created. Detects keys using tmp.(A=1, B=2... up to Z=26, upArrow=27, left=28, right=29 down=30, for pad numbers: <number>= 5<number> where number is 0,1,2,3,4,5,6,7,8 or 9.)

    CSIM: Cesium. Life value changes every frame between 0 and 1.

    LSNS: Life sensor. Complex. If tmp2 = 0, detects when life of an element is superior to value tmp. If tmp2 = 1, detects changes in life value of elements around it.

  • TPT_PL
    27th Nov 2016 Member 1 Permalink

    DKEY - Maybe, I know @boxnein made something like that.

    CSIM and LSNS - Ugh, a bit TOO complex, also caesium having only this one property?

  • QuanTech
    27th Nov 2016 Member 0 Permalink

    @TPT_PL I made LSNS (sorta had to copy some TSNS :P). It's getting into da game soon

    EDIT: and it's in c++, so yeah... I can't give you the code for your mod :(

    Edited once by QuanTech. Last: 27th Nov 2016
  • techyman305
    27th Nov 2016 Member 0 Permalink

    @tptquantum (View Post)

     DKEY could create promblems, seeing as there are already so many shortcut keys- Q for quit, W for gravity, E for element search, R for recording, Y for air, U for ambient heat, S for stamp, D for debug mode, F for frame stepping, G for grid, H for the HUD, K and L for the stamp library/most recent stamp, Z for zoom box, B for deco, and N for newtonian gravity. (Wow, I wasn't trying to be a know it all, I just went and tried every key, and there were so many more than I thought! 16, to be exact.) And the arrow keys could create problems with the Stickmen. The numberpad could work just fine without interference, I really think that could be useful. Perhaps if the key had to pressed in conjunction with ALT or CTRL, but there are yet more keyboard shortcuts that use CTRL . . .

  • tptquantum
    27th Nov 2016 Member 0 Permalink

    @techyman305 (View Post)

     Or trying to use only arrows, with the / key on the number pad and number keys only.

    As for CESM... it's up to you to decide.

  • jacob1
    28th Nov 2016 Developer 0 Permalink
    @techyman305 (View Post)
    Also i for "invert pressure", p for screenshot, A for moving STK2 left, ctrl+x for cut, ctrl+c for copy, and ctrl+v for paste.

    Really almost every single keyboard key is used as a TPT shortcut. Even some symbols do stuff like ;, [, and ]. The only letters that do absolutely nothing are o, j, and m.

    That's only one of the reasons that an element which can respond to any key is a bad idea. If we did add that it would probably just do arrow keys. Although people have created some really great stickmen key detectors already.