Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Cooperative Cuisine Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
CoCoSy
Cooperative Cuisine Environment
Commits
7871acde
Commit
7871acde
authored
1 year ago
by
Florian Schröder
Browse files
Options
Downloads
Patches
Plain Diff
create pot and stove classes
parent
c3a9f5fe
No related branches found
No related tags found
1 merge request
!10
Resolve "Pot and stove and cooking tomato soup"
Pipeline
#41490
passed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
overcooked_simulator/counters.py
+14
-0
14 additions, 0 deletions
overcooked_simulator/counters.py
overcooked_simulator/game_items.py
+14
-0
14 additions, 0 deletions
overcooked_simulator/game_items.py
with
28 additions
and
0 deletions
overcooked_simulator/counters.py
+
14
−
0
View file @
7871acde
...
...
@@ -212,3 +212,17 @@ class Trash(Counter):
def
__repr__
(
self
):
return
"
Trash
"
class
Stove
(
Counter
):
def
pick_up
(
self
):
...
def
drop_off
(
self
,
item
)
->
HoldableItem
|
None
:
...
def
can_drop_off
(
self
,
item
)
->
bool
:
return
False
def
__repr__
(
self
):
return
"
Stove
"
This diff is collapsed.
Click to expand it.
overcooked_simulator/game_items.py
+
14
−
0
View file @
7871acde
...
...
@@ -63,3 +63,17 @@ class Tomato(CuttableItem):
def
__init__
(
self
):
super
().
__init__
(
steps_needed
=
1500
)
class
Pot
(
ProgressibleItem
):
def
can_combine
(
self
,
other
):
return
False
def
__init__
(
self
):
super
().
__init__
(
steps_needed
=
1500
)
def
combine
(
self
,
other
):
...
def
__repr__
(
self
):
return
f
"
{
self
.
__class__
.
__name__
}
()
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment