sorcery  Diff

Differences From Artifact [31896c5f81]:

To Artifact [8ccd951dd6]:

  • File gravitator.lua — part of check-in [3f6a913e4e] at 2020-09-29 12:40:28 on branch trunk — * remove former hacky registration system, replace with consistent and flexible API; rewrite metal/gem generation to take advantage of this new API; tweaks to init system to enable world-local tweaks to lore and sorcery behavior * initial documentation commit * initial steps towards calendar - add default date format, astrolabe; prepare infra for division/melding/transmutation spells, various tweaks and fixes (user: lexi, size: 3666) [annotate] [blame] [check-ins using]

    27     27   		description = 'Gravitator';
    28     28   		drop = 'sorcery:gravitator_off';
    29     29   		paramtype2 = 'facedir';
    30     30   		groups = {
    31     31   			cracky = 2;
    32     32   			sorcery_magitech = 1;
    33     33   			sorcery_ley_device = 1;
    34         -
    35         -			effect_trigger = (kind == 'off') and 0 or 1;
           34  +			not_in_creative_inventory = kind == 'off' and nil or 1;
           35  +			effect_trigger = (kind == 'off') and nil or 1;
    36     36   		};
    37     37   		tiles = {
    38     38   			'sorcery_gravitator_side.png';
    39     39   			'sorcery_gravitator_side.png';
    40     40   			'sorcery_gravitator_side.png';
    41     41   			'sorcery_gravitator_side.png';
    42     42   			'sorcery_gravitator_side.png';