diff orpg/orpgCore.py @ 89:b84e0799fed2 alpha

Traipse Alpha 'OpenRPG' {090917-03} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc''s main goal is to offer more advanced features and enhance the productivity of the user. Update Summary: 00: Adds menu changes to draw attention to important updates, errors, or other events. (image info coming soon) Traipse URL is not included in the repos tab and is set as default. 01: Fixes Copy for Windows and Linux (finally!!) users. Fixes incomplete update to Grid and List nodes. Fixes incomplete update to Chat Commands. 02: Fixes problems with Remote Image Upload. Fixes Drop and Drag of Minis to Map. CherryPy can now use any image in the webfiles/ folder and sub-folders. CherryPy can now Drop and Drag Minis to the Map. 03: Minor changes to Update Manager's GUI. Expert recommendation warning added to Revision Update. Step down compatibility with open_rpg & component added to orpgCore.
author sirebral
date Thu, 17 Sep 2009 06:29:32 -0500
parents c54768cffbd4
children d1aff41c031b
line wrap: on
line diff
--- a/orpg/orpgCore.py	Thu Sep 17 04:44:37 2009 -0500
+++ b/orpg/orpgCore.py	Thu Sep 17 06:29:32 2009 -0500
@@ -71,6 +71,13 @@
         if self.__components.has_key(key): del self.__components[key]
         else: return
 
+    ###Grumpy to Ornery###
+    def add_component(self, key, com):
+        self.add(self, key, com)
+
+    def get_component(self, key):
+        self.get(self, key)
+
 def singleton(cls):
     instances = {}
     def getinstance():
@@ -81,3 +88,6 @@
 
 ORPGStorage = singleton(ORPGStorage)
 component = ORPGStorage()
+
+###Grumpy to Ornery###
+open_rpg = component