Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Nouvelle fonction item:set_pickable_by_sword() #1197

Open
ZeldoRetro opened this issue May 27, 2018 · 3 comments
Open

Nouvelle fonction item:set_pickable_by_sword() #1197

ZeldoRetro opened this issue May 27, 2018 · 3 comments

Comments

@ZeldoRetro
Copy link

Cette issue est une proposition d'ajouter une fonction pour les items qui serait donc item:set_pickable_by_sword(). Elle permettrait donc à certains items de ne pas pouvoir etre attrapés par l'épée (bon exemple: les quarts de coeur). Je ne sais pas ce que vous en pensez mais je trouve cela utile pour certains trésors en particulier...

@PhoenixII54
Copy link

note, the function could be more like item:set_pickable_by(<source_string>, <true/false>) to handle special cases like custom entities (boomerangs/hookshots)

@christopho
Copy link
Collaborator

To be decided if we prefer item:set_pickable_by_sword() or pickable:set_obtainable_with_sword()

@PhoenixII54
Copy link

Now you mention it, i would say sometging like item:set_obtainable_using(<source_string>, <true/false>).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants