Skip to content

Few questions on using Jericho > 3.0.0 #57

@ktr0921

Description

@ktr0921
  1. Is any word outside of get_world_objects() not interactable? For instance, from what i understood so far, get_dictionary() is to extract any ‘word’ recognizable in the game and get_world_objects() is to extract any ‘object’ interactable in the game. This means any ‘word’ in get_dictionary() that is not in get_world_objects() will not be interactable, so I can discard them when selecting objects?

  2. Is there any way to get template/object index for valid actions? get_valid_actions() is probably the closest thing, but it does not provide template or object index. Is there any way to extract this?

  3. If there is a way to extract template/object index for valid actions (2), what is the object index? Is it get_world_objects() or get_dictionary()?

  4. Finally, how should I interpret fields in jericho.ZObject? The example of it in the official document is ‘Obj4: cretin Parent180 Sibling181 Child0 Attributes [7, 9, 14, 30] Properties [18, 17, 7]’. Does Parent180 refer to Obj180? Does this apply to Sibling181 and Child0? How about Attributes and Properties? Where do I get the chart or dataset for this?

Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions