Advertisement
Kovitikus

expectation vs reality

Nov 30th, 2020
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.67 KB | None | 0 0
  1. # How I wrote my crudely_made_torch prototype:
  2. CRUDELY_MADE_TORCH = {
  3.     'prototype_parent': 'lighting',
  4.     'prototype_key': 'CRUDELY_MADE_TORCH',
  5.     'key': 'crudely-made torch',
  6.     'typeclass': 'typeclasses.objects.Torch',
  7.     'price': 10,
  8.     'fuel': 90,
  9.     'burn_rate': 30
  10. }
  11.  
  12.  
  13.  
  14. # Actual prototype dictionary returned via search_prototype
  15. {'prototype_parent': 'lighting', 'prototype_key': 'crudely_made_torch', 'key': 'crudely-made torch', 'typeclass': 'typeclasses.objects.Torch', 'attrs': [('price', 10, None, ''), ('fuel', 90, None, ''), ('burn_rate', 30, None, '')], 'prototype_tags': ['module'], 'prototype_locks': 'spawn:all();edit:all()', 'prototype_desc': ''}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement