Aenimus

Proto pack ghost ping

Oct 11th, 2020 (edited)
1,001
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. if ( get_property( "_proto_ghost_previous_back_item" ) == "" )
  2. {
  3. set_property( "_proto_ghost_previous_back_item", equipped_item( $slot[back] ).to_string() );
  4. }
  5. if
  6. (
  7. total_turns_played() >= get_property( "nextParanormalActivity" ).to_int() &&
  8. get_property( "ghostLocation" ) == ""
  9. )
  10. {
  11. set_property( "_proto_ghost_previous_back_item", equipped_item( $slot[back] ).to_string() );
  12. if ( equipped_item( $slot[back] ) != $item[protonic accelerator pack] )
  13. {
  14. equip( $slot[back], $item[protonic accelerator pack] );
  15. }
  16. }
  17. else if ( get_property( "ghostLocation" ) != "" )
  18. {
  19. cli_execute( "counters add 0 ProtoPackGhost" );
  20. print( `"You have a ghost in {get_property( 'ghostLocation' )}!"` );
  21. }
  22. else if
  23. (
  24. get_property( "ghostLocation" ) == "" &&
  25. total_turns_played() < get_property( "nextParanormalActivity" ).to_int() &&
  26. equipped_item( $slot[back] ) != get_property( "_proto_ghost_previous_back_item" ).to_item()
  27. )
  28. {
  29. equip( $slot[back], get_property( "_proto_ghost_previous_back_item" ).to_item() );
  30. }
Advertisement
Add Comment
Please, Sign In to add comment