intficpy/thing_base.py
def copyThingUniqueIx(self):
        """
        Copy a Thing, creating a new index. NOT safe to use for dynamic item duplication.
        The copy object is by default treated as not distinct from the original in
        Player knowledge (me.knows_about dictionary).
        To override this behaviour, manually set the copy's known_ix to its own ix property.
        """
        out = copy.copy(self)
        self.registerNewIndex()
        self.game.nouns[out.name].append(out)
        out.setAdjectives(out.adjectives)
        for synonym in out.synonyms:
            self.game.nouns[synonym].append(out)
        out.full_name = self.full_name
        out.contains = {}
        return out

        Copy a Thing, creating a new index. NOT safe to use for dynamic item duplication.
        The copy object is by default treated as not distinct from the original in
        Player knowledge (me.knows_about dictionary).
        To override this behaviour, manually set the copy's known_ix to its own ix property.
        
Copy a Thing, creating a new index. NOT safe to use for dynamic item duplication.
The copy object is by default treated as not distinct from the original in
Player knowledge (me.knows_about dictionary).
To override this behaviour, manually set the copy's known_ix to its own ix property.
Copy a Thing creating a new index . NOT safe to use for dynamic item duplication . The copy object is by default treated as not distinct from the original in Player knowledge ( me . knows_about dictionary ) . To override this behaviour manually set the copy ' s known_ix to its own ix property .
def copyThingUniqueIx(self):
        out = copy.copy(self)
        self.registerNewIndex()
        self.game.nouns[out.name].append(out)
        out.setAdjectives(out.adjectives)
        for synonym in out.synonyms:
            self.game.nouns[synonym].append(out)
        out.full_name = self.full_name
        out.contains = {}
        return out
def copyThingUniqueIx ( self ) : out = copy . copy ( self ) self . registerNewIndex ( ) self . game . nouns [ out . name ] . append ( out ) out . setAdjectives ( out . adjectives ) for synonym in out . synonyms : self . game . nouns [ synonym ] . append ( out ) out . full_name = self . full_name out . contains = { } return out
Copy a Thing, creating a new index.
Copy a Thing creating a new index .
"""
        Copy a Thing, creating a new index. NOT safe to use for dynamic item duplication.
        The copy object is by default treated as not distinct from the original in
        Player knowledge (me.knows_about dictionary).
        To override this behaviour, manually set the copy's known_ix to its own ix property.
        """
self